Skip to content

Custom formats #10

Description

@sorashadow

Hello there

First of all, thanks for this great little app. It has saved me a lot of formatting time done in Redmine Issues (yeah, I like code neatly formatted XD)

I would like to know if it is possible to add custom languages to the formatting options without having to rebuild the Scintilla... Redmine issues are formatted as Txstyle, and there is no similar highlighting embedded in the app (bash does recognize comments, but that's all).

I tried editing the langs.model.xml, but had no success in making it work.
The code added is as follows (insert beside C and CAML). I adapted the code using this XML file of Notepad++ CustomLang:

        <Language name="textile" ext="txstyle" commentLine="###." commentStart="" commentEnd="">
            <Keywords name="instre1">h5. h4. h3. h2. h1.</Keywords>
            <Keywords name="instre2">*&#x000D;&#x000A;#&#x000D;&#x000A;</Keywords>
            <Keywords name="type1">&lt;pre&gt;&#x000D;&#x000A;&lt;/pre&gt;&#x000D;&#x000A;&lt;pre&#x000D;&#x000A;:http://&#x000D;&#x000A;:https://&#x000D;&#x000A;</Keywords>
        </Language>

Can you help me?

Thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions