OK. Did you replace it with something nicer or just removed it?
Are you using images or hardcoded drawing code? Maybe we could make this configurable and keep a single fold panel class...
The current design makes this a bit tricky... I got plans to improve this but I'd like to make this version as stable as possible before making API changes... Anyway you should be able to get this information using something like :
where "editor" is a QEditor*Qt Code:
editor->highlighter()->definition()->language();To copy to clipboard, switch view to plain text mode
This will give you the language used as a QString as it appears in the qnfa file.
note : you'd better check for the existence of an highlighter before proceeding, unless you forced one to be set on all your editors...
Bookmarks