Any update on this? I'd very much like to see it implemented for two reasons:
a) custom build commands associated with rpm spec (rpmbuild -ba, etc.)
b) syntax highlighting of rpm spec files (even gedit does that!)
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@mailaender yes, if an existing lexer can't do a good enough job it'll have to be implemented on Scintilla's side.
I don't know the RPM Spec language, but if it has syntacitc elements similar enough to an existing lexer, it might be possible to create a Custom Filetype (c.f. the manual) using one of the existing lexers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We're working on this feature this weekend. Stay tuned.
Any update on this? I'd very much like to see it implemented for two reasons:
a) custom build commands associated with rpm spec (rpmbuild -ba, etc.)
b) syntax highlighting of rpm spec files (even gedit does that!)
Thanks
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
Why you don't want to make a filetype for RPM spec files??
It'd be very helpful :)
Gedit makes usage of GtkSourceView to colorize also spec files properly. Maybe we can also steal the already available Gnome implementation?
https://git.gnome.org/browse/gtksourceview/tree/data/language-specs/rpmspec.lang
I assume this has to be added to the editor component? https://sourceforge.net/p/scintilla/feature-requests/526/
@mailaender yes, if an existing lexer can't do a good enough job it'll have to be implemented on Scintilla's side.
I don't know the RPM Spec language, but if it has syntacitc elements similar enough to an existing lexer, it might be possible to create a Custom Filetype (c.f. the manual) using one of the existing lexers.