Nightly update (ISO SHA-1 f3615ad)
This commit is contained in:
1 parent
b97fa7c00e
commit
aa53888517
20 files changed
+366
-235
No files matched your search
@@ -51,6 +51,12 @@ public U8 *DocScanLine(CDoc *doc,CDocEntry *doc_e,
|
||||
i+=StrLen(src);
|
||||
} else if (doc_e2->type_u8==DOCT_TAB)
|
||||
i++;
|
||||
else if (doc_e2->type_u8==DOCT_SHIFTED_X ||
|
||||
doc_e2->type_u8==DOCT_SHIFTED_Y) {
|
||||
if (doc_e2->attr<0)
|
||||
i++;
|
||||
i+=6; //$$SY,3$$
|
||||
}
|
||||
doc_e2=doc_e2->next;
|
||||
}
|
||||
res=MAlloc(i+1);
|
||||
@@ -63,6 +69,19 @@ public U8 *DocScanLine(CDoc *doc,CDocEntry *doc_e,
|
||||
*dst++=*src++;
|
||||
} else if (doc_e->type_u8==DOCT_TAB)
|
||||
*dst++='\t';
|
||||
else if (doc_e->type_u8==DOCT_SHIFTED_Y) {
|
||||
*dst(U32 *)++='$$SY,';
|
||||
if (doc_e->attr<0)
|
||||
*dst++='-';
|
||||
*dst++='0'+AbsI64(doc_e->attr); //Supposedly -7 to 7 (single digit)
|
||||
*dst++='$$';
|
||||
} else if (doc_e->type_u8==DOCT_SHIFTED_X) {
|
||||
*dst(U32 *)++='$$SX,';
|
||||
if (doc_e->attr<0)
|
||||
*dst++='-';
|
||||
*dst++='0'+AbsI64(doc_e->attr); //Supposedly -7 to 7 (single digit)
|
||||
*dst++='$$';
|
||||
}
|
||||
if (doc_e==doc->cur_entry && cur_col)
|
||||
*cur_col=start-res+doc->cur_col;
|
||||
doc_e=doc_e->next;
|
||||
|
||||
Reference in new issue
Block a user