|
From: | Marc Wilson |
Subject: | Re: Line Numbers |
Date: | Fri, 02 Sep 2022 16:08:01 -0700 |
User-agent: | Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a |
There is not, but you can add a line in your ~/.qe/config file:toggle_line_numbers();ChqrlieOn 3 Sep 2022, at 00:46, Marc Wilson <posguy99@gmail.com> wrote:Is there a variable that will force the line numbers on at startup, either global or .qerc ? Reading variables.c doesn’t seem like there is one.On Fri, Sep 2, 2022, at 3:39 PM, Charlie Gordon wrote:Indeed QE_STYLE_GUTTER is the style used for the line numbers:/* line numbers */if (ds->line_numbers) {ds->style = QE_STYLE_GUTTER;display_printf(ds, -1, -1, "%6d ", line_num + 1);ds->style = 0;}with a default definition ofSTYLE_DEF(QE_STYLE_GUTTER, "gutter", /* #f84400 on grey25 */QERGB(0xf8, 0x44, 0x00), QERGB(0x3f, 0x3f, 0x3f), 0, 0)Chqrlie.On 3 Sep 2022, at 00:34, Marc Wilson <posguy99@gmail.com> wrote:What style element name is the numbers themselves? I figured out that “gutter” is the tray the numbers are in.On Fri, Sep 2, 2022, at 2:43 PM, Charlie Gordon wrote:Hello Marc,You can toggle line numbers display with the toggle-line-numbers command bound to "C-x RET l” and "C-c l”This command can be found with the apropos command: C-h a line RETEnjoy!ChqrlieOn 2 Sep 2022, at 20:15, Marc Wilson <posguy99@gmail.com> wrote:Can Qemacs number lines onscreen? I realize there’s a line counter in the mode line.
[Prev in Thread] | Current Thread | [Next in Thread] |