Re: Word Wrap can work

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 13 Sep 2006 11:53:17 -0700, Antonio Alessi
<guest at RapidEuphoria.com> wrote:

[repost as no show after 7 hours]
>Hi folks!
>
>I was looking for some appreciable solutions for the "word wrap" problem, 
>but I met some more people with the same questions and no answer, it seems:
>
>Date: 2005 Jul 6 23:58
> From: Pete Lomax <petelomax at blueyonder.co.uk>
>If you fancy a bash at doing something better, knock yourself out. blink)
btw, Edita does not use RichEdit controls.
<snip>
>It may not be an "elegant" solution, but switches the text in a RichEdit 
>window according to the user command, i.e. in every kind of document 
>I'm loading lines wrap, do-not-wrap in runtime, and still it happens.

Just now in Google I found the EM_SETTARGETDEVICE message,
no matches in EUforum search, so fingers crossed (not tried). See:
http://www.vba-programmer.com/Snippets/Code_VB/Word_Wrap_Toggle_for_RichTextBox.html

An interesting link I found for the problems I face in Edita is: 
http://aeditor.rubyforge.org/softwrap.html Certainly clarifies a few
ideas, for instance I would display line 75 column 190 in the status
bar when the screen shows cursor on line-75-part-2-column-10, and
hence say downarrow would not be line+1 but col+80(ish) sometimes.
Plus wordwrap [show additional virtual lines] would need to be bolted
into the existing fold [hide selected real lines] mechanism, which I
knew already, but I now realise that a fold [clash] on a wordwrapped
line is no matter - folds disable wordwrap completely [and if you edit
a fold line, you'll get what you get]. Still a huge commitment I
cannot undertake at this time though.

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu