Re: [code] How can I tweak the text in the status bar?

From: Russell Dickenson <russelldickenson.att.gmail.com>
Date: Thu, 16 May 2013 14:02:36 +1000

OK - thanks to Brian I have found the following code, which looks to be the
section I ought to tweak. What I don't understand is: how can I have the
text start from the left-hand side, and not right-aligned?

  local text = not CURSES and '%s %d/%d %s %d %s %s %s %s' or
                              '%s %d/%d %s %d %s %s %s %s'
  gui.docstatusbar_text = string.format(text, _L['Line:'], line, max,
                                        _L['Col:'], col, lexer, eol, tabs,
enc)

On 16 May 2013 10:09, Russell Dickenson <russelldickenson.att.gmail.com> wrote:

> Brian,
>
> Thankyou. I obviously need to improve my grep-ing skills. :)
>
>
> On 16 May 2013 09:10, Brian Schott <briancschott.att.gmail.com> wrote:
>
>> Search for "gui.docstatusbar_text". The update happens in core/gui.lua
>>
>>
>> On Wed, May 15, 2013 at 3:59 PM, Russell Dickenson <
>> russelldickenson.att.gmail.com> wrote:
>>
>>> I would like to make some purely cosmetic changes to the layout of
>>> Textadept's status bar. I have grep-ed all over but still can't find where
>>> this is constructed. Can anyone help?
>>>
>>
>>
>

-- 
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 Thu 16 May 2013 - 00:02:36 EDT

This archive was generated by hypermail 2.2.0 : Thu 16 May 2013 - 06:46:27 EDT