Re: [code] [textadept] Chars used for word_wrap

From: Robert Gieseke <>
Date: Sat, 11 Jan 2014 08:25:52 +0100

Hi Mitchell,

Am 1/9/14, 11:50 PM, schrieb Mitchell:
>> is there a way to have word_wrap only occur only after spaces?
> Scintilla is hard-coded to wrap on style changes if possible.
> `src/Editor.cxx:2402` is responsible for this. I was able to comment out
> that "else if" statement to get the "wrap on whitespace" effect you were
> hoping for.
> Neil might accept a patch to the wrap mode. For example, calling
> SCI_SETWRAPMODE with a new WRAP_WORD_WHITESPACE constant would tell
> Scintilla to not check for a style change, but rely on that last
> conditional to break on spaces or tabs.

Many thanks for looking into this! Are you going to submit this or
should I request that option on the Scintilla list?


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sat 11 Jan 2014 - 02:25:52 EST

This archive was generated by hypermail 2.2.0 : Sat 11 Jan 2014 - 06:51:00 EST