Hi:

I'm running the latest Leo from Git. I just enabled this plugin. With 
"nosent" files (at least, since that's mostly what I use), there seems to 
be an "off-by-a-few" error in the displayed numbers.

My outline is:
@nosent foo.py
   @others (in body of @nosent node)
   Imports
      import xx (in body of "imports" node)


In the file "foo.py", the "import xx" is the first line

It is numbered 5 in the gutter of the body pane for the node.

I tried various "toggle-line-numbering-root" command, but this did not seem 
to make any difference.

Is this something specific to "nosent" nodes, or ??

Thanks!
=John

On Thursday, July 27, 2017 at 6:23:34 PM UTC-4, vitalije wrote:
>
> Revision 7fe3217e 
> <https://github.com/leo-editor/leo-editor/commit/7fe3217e5fd2ab32b5a5c92647b2a285cf805e4b>
>  contains 
> new plugn line_numbering.py.
>
> This plugin when used with setting '@bool use-gutter=True', will show real 
> line numbers (as they are in external file) in gutter. The effect of this 
> plugin can be temporarily turned off and on using new command 
> 'line-numbering-toggle'. The plugin also allows to mark a node as fictive 
> root for line numbering purposes using command 'toggle-line-numbering-root'.
>
> Vitalije
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to