we need to be able to take an
app that runs on windows and without even recompiling, run it on linux. We can
do that today but without any gui. ms compatibility is useful.
I do understand what you are saying - and i
agree with the goal. The issue is when a user hits enter and we insert
it into the text, what do we insert it as? crlf, cr, lfcr? we could end up with
a mixture thats a mess.
i think we should stick to ms standard in
the textbox - if we are to meet our goals.
It would be simple to customise
textreader or something to make it easier to be compatible later.
Rhys?
> Neil Cawse wrote:
>
> Actually the behaviour
needs to change because the microsoft textbox
> control needs a cr and lf
before moving text onto a new line (i only
> do lf). I will setup a full
set of test cases so we can make sure we
> match the ms behavior
exactly.
IMO MS compatibility is not required, and in this case not at
all. A LF
will be sufficient to move the position to the begin of the next
line,
and any number of CRs only will move to the first column, i.e. can
be
ignored. This will allow for all currently known EOL
sequences,
including Mac(?)
LF/CR.
DoDi