Chris Colman wrote:
...
Yes I've been using the 'standard' CR/LF for my windows app but I think
the pastes have been stuffing things up (it's almost like some pastes
use Unix style line endings - especially when pasting text from a
browser).
Yep - text from the clipboard *can* look like anything - this is what
the paste "convert" setting handles (if you care, note the differences
in GTK handling).
But times (and Macs?) change, and a lot of text-handling tools (like
Scintilla) transparently accept any of the known forms.
Now, for your "paste" operation, I raised a closely related issue a
few weeks ago, and Neil invited a paste operation (probably a new API
call) that would insert a [possibly multi-line] string in a buffer
with any contained line-endings normalized to the current mode for
that buffer... ;)
Matt informed me about the SCI_SETPASTECONVERTENDINGS command which I
hope will solve my problem. Is that what you're talking about or is that
something different.
See my earlier reply to myself... ;)
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest