Re: [code] Margin indicator

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Sat, 9 Nov 2013 00:04:53 +0800

On 8 November 2013 22:50, Robert Gieseke <rob.g.att.web.de> wrote:

> Am 11/8/13, 3:23 PM, schrieb Michael Richter:
>
> Lots of coding guidelines mandate a particular maximum width of lines.
>> How
>> would I go about extending Textadept to draw one so that if I say
>> something
>> like "margin_width=78" I'd get a line drawn down on the right hand side of
>> the 78th character position?
>>
>> At the end of Textadept's properties.lua you find
>
> -- Long Lines.
> --buffer.edge_mode = not CURSES and buffer.EDGE_LINE or
> buffer.EDGE_BACKGROUND
> --buffer.edge_column = 80
>
> Put this in your .textadept/properties.lua and uncomment and adapt as
> needed.

This is me facepalming.

Thanks. I feel stupid. :)

-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
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 Fri 08 Nov 2013 - 11:04:53 EST

This archive was generated by hypermail 2.2.0 : Sat 09 Nov 2013 - 06:42:48 EST