Feature changed by: Tim Fechtner (urwald) Feature #309852, revision 9 Title: improve spec file editor in webclient buildservice Buildservice: Unconfirmed Priority Requester: Desirable Requested by: Michal Seben (mseben) Description: if you try to edit spec file in webclient buildservice you get clean, not highlighted text, it would be fine if we have spec editor build in (with auto-completion and syntax higlight) maybe we could use codemirror : http://marijn.haverbeke.nl/codemirror/jstest.html (http://marijn.haverbeke.nl/codemirror/jstest.html) ? Discussion: #1: Michal Seben (mseben) (2010-06-27 21:58:16) pushed initial commit to git http://gitorious.org/codemirror_spec_parser (http://gitorious.org/codemirror_spec_parser) , see for preview http://desire.sk/codemirror/contrib/spec/ (http://desire.sk/codemirror/contrib/spec/) #2: Thomas Schmidt (digitaltomm) (2010-06-28 12:20:23) (reply to #1) Please clone the webclient on gitorious (gitorious.org/build-service) and push your changes back as merge requests. #3: Michal Seben (mseben) (2010-06-28 14:14:18) (reply to #2) oh, currently it contains only 3 or 4 rules for highlighting (no auto- completition, no bracket highlight, no indentation ...), but I will try to find out how it could be integrated into webclient ... btw, do we want also use/(switch to) diff parser from codemirror library (for edit & view diffs) ? see : http://liranuna.com/codemirror-diff/ #4: Michal Seben (mseben) (2010-07-13 15:37:42) (reply to #2) created merge request : http://gitorious.org/opensuse/build-service/merge_requests/12 + #5: Tim Fechtner (urwald) (2010-07-19 20:07:11) + The syntax highlighting seems to be quite basic. It would be great to + have a full-featured highlighting. + + For Kate/KWrite, I've written a very complete rules file (http://websvn.kde.org/trunk/KDE/kdelibs/kate/syntax/data/rpmspec.xml?view=lo...). + Maybe this can be ported to codemirror? (I don't know how codemirror + defines its rules.) Or even Kate's syntax highlighting engine could be + used? -- openSUSE Feature: https://features.opensuse.org/309852