On Thu, Apr 2, 2015 at 7:23 AM, john lunzer <[email protected]> wrote:

> I just want to float this and get a sense for what the level of effort
> would be to add left gutter line numbers to the body pane.
>

​Leo has some support for QScintilla​
<http://pyqt.sourceforge.net/Docs/QScintilla2/>. QScintilla does support
line numbers in the gutter.

This replaces Leo's default QTextBrowser widget with a scintilla widget::

   @bool qt-use-scintilla = False

Alas, there are problems with Leo's QScintilla widget--it appears
impossible to syntax color Leo's directives. There are also advantages,
which you might like to explore.

It may sound minor but one of the features I miss the most in Leo is left
> gutter line numbers. I've done some searches on the group and it seems like
> the last time anyone mentioned line numbers in the body pane was back in
> 2010.
>

​Similarly, minor sounding requests can be very difficult to do :-) Afaik,
the QTextBrowser <http://doc.qt.io/qt-5/qtextbrowser.html>class does not
support gutters or line numbers.

Edward

-- 
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to