Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    EnhanceAnyLexer plugin

    Plugin Development
    1
    2
    58
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ekopalypse
      Ekopalypse last edited by Ekopalypse

      The plugin was updated to version 0.5

      New feature is a kind-of regex linter

      229a211e-392f-4464-b9fd-a0194ff922d5-image.png

      and, an idea stolen from the Python script plugin, a kind of real-time match update

      37b1f1b3-fc96-4abb-96ea-aaac1bd3fa57-image.png

      The version will be added to the plugin list next week if no critical problem is found.

      Ekopalypse 1 Reply Last reply Reply Quote 2
      • Referenced by  Ekopalypse Ekopalypse 
      • Ekopalypse
        Ekopalypse @Ekopalypse last edited by

        Some information about the new functions.

        The regex error feature needs a decent npp version.
        Afaik 8.2.1 is needed to have the end of line annotation feature.

        The real time match update temporarily deletes already styled matches to see what really matches, I hope this makes sense.

        Two new ini keys are needed.

        ; The ID of the style used to display regex errors.
        ; If there are conflicts with other styles used by Npp or other plugins, change this value.
        ; The expected range is between 0 and 255; according to Scinitilla.
        regex_error_style_id=30
        ; The color used by the style.
        ; For an explanation of how this color can be defined, see the following description of the regexes and their colors.
        regex_error_color=0x756ce0
        
        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors