[PATCH/RFC] GtkSourceView: FeatureSupport for Headings



Hi all,

out of envy for the Emacs Latex-Plugin I implemented the feature to
scale certain parts of a file accoring to the style definition.

Specifically, this means that \chapter{}, \section{}, etc commands in
tex files and <h1>, <h2>, etc commands in html files will have their 
contents presented in a larger form than the rest.

Please finde the code for pull at:
https://github.com/anduchs/gtksourceview-headlining/tree/headliningsupport
(or in the attached patch-files against current head)

Open Issues:
- in <h1 class="test"> tags the attributes are note highlighted
correctly anymore as it seems no context-matching is possible within a
start-subpattern.

Attached are also two illustrative test files.

Best regards,
Andreas
Title: Testsite

Test Heading 1

testing heading 2

asdf

Attachment: test.tex
Description: Text Data

Attachment: 0001-Add-support-for-scale-property-in-gtksourcestyle.patch
Description: Text Data

Attachment: 0002-Add-support-for-scale-property-via-def-heading-to-st.patch
Description: Text Data

Attachment: 0003-Add-support-for-headings-to-latex-lang-spec.patch
Description: Text Data

Attachment: 0004-Add-support-for-headings-in-html-spec.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]