Not all lexers implemented

Bug #1193673 reported by Justin Kinnaird
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Notepadqq [MOVED TO GITHUB]
New
Medium
Unassigned

Bug Description

Certain languages(eg. Asm/assembly, ADA) aren't currently implemented in LexerFactory. Apparently, QsciLexer[lang] classes only contain a fraction of the total number of languages scintilla actually supports by default via SendScintilla(SCI_SETLEXER,SCLEX_*).

I suggest either write the other missing lexers or give LexerFactory the ability to access the lower level API in the absence of an available QsciLexer class. Obviously the QsciLexer route would take longer to do, but may save some unexpected hassle later on.

Alternatively, we could convert over to using purely SendScintilla to get those fun lexers working, but I don't imagine that solution to look very pretty. :)

The languages missing appear to be (for the most part) less commonly used ones. Others which still get some use, such as assembly, would probably need to be implemented sooner rather than later.

Justin Kinnaird (teklad)
Changed in notepadqq:
importance: Undecided → Medium
Justin Kinnaird (teklad)
description: updated
Revision history for this message
Daniele "OpenNingia" Simonetti (oppifjellet) wrote :

I'd say that we should take the extra burden and write the missing QsciLexer implementation.
Is there a way to extrapolate a list of missing lexers?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.