[Github-comments] [geany/geany] Request: Texi texinfo files template to color code segments (Issue #3150)

elextr notifications at github.com
Thu Apr 7 01:09:17 UTC 2022


> So two files are open side by side but one vertical bar will move upward or downward in sync both files.

It is not currently possible, and may be tricky as the scrolling is provided by the Scintilla editing widget we use, not Geany code, so there is a set of scroll controls for each side by side widget.  It may be possible to transfer position from one to another, but "somebody" has got to figure out how and implement it, and handle when its not the same file in both widgets, and ...

For custom filetypes, see the manual and examples like `data/filedefs/filetype.Scala.conf` `data/filedefs/filetype.JSON.conf` etc (basically any `filetypes.xxxx.conf` is a custom filetype).  I don't know texinfo so can't suggest what existing highlighter may be suitable.

> I have this file from textadept editor in lua format for highlighting texinfo text.
> It is hard to be implement into geany?

The highlighter is not part of Geany, it is part of the [Lexilla](https://github.com/ScintillaOrg/lexilla) project (a sister of the Scintilla project, see above) that Geany is only one user.  It has to be implemented in C++ so "difficult" depends on your fluency with C++.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3150#issuecomment-1090975810
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3150/1090975810 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220406/b1d07b29/attachment.htm>


More information about the Github-comments mailing list