Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 992 → Rev 993

/trunk_dos/TODO.TXT
3,9 → 3,8
* (See "TODO" entries in the *.pas files)
 
KNOWN BUGS:
- If you write an OID description with a linebreak (very long line), then do multiple Shift+Return
(to make line breaks), and then press backspace, then everything is messed up
- If you fill a description with 255 characters, then the last 4 are not getting written. why?
- If you fill a description with 255 characters, then save, then the last 4 are not getting written. why?
... actually, sometimes also just 1 char vanishes. maybe it was something to do with the amount of CRLF?
 
IDEAS:
* If you call OIDPLUS.EXE with an argument to a .OID file, then open this OID
/trunk_dos/VTSCUI.PAS
535,8 → 535,13
if (s[j]=#13) or (s[j]=#10) then break;
Dec(j);
end;
if j < 0 then j := 0;
j := Length(s)-2(*CRLF*)-j;
if Copy(s,Length(s),1) <> #10 then j := j + 1;
j := j mod width;
 
x := initX + j;
if Copy(s,Length(s),1) = #10 then
s := Copy(s, 1, Length(s)-1); (* Remove #10 now. #13 will be removed below *)
end
else