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

From: Mitchell <m.att.foicica.com>
Date: Sat, 11 Jan 2014 10:34:46 -0500 (EST)

Robert,

On Sat, 11 Jan 2014, Robert Gieseke wrote:

> 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 should make the request. I have too much on my plate to create a
patch. Thanks.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 11 Jan 2014 - 10:34:46 EST

This archive was generated by hypermail 2.2.0 : Sun 12 Jan 2014 - 06:40:28 EST