• Debugging Funtion Lists

    Locked
    6
    0 Votes
    6 Posts
    3k Views
    Robert MurrellR

    Thanks for the help. Here is a simple parser for MooTools. I’ll expand it as I become more familiar with PCRE.

    <association id= "mootools_syntax" langID="19" /> <parser displayName="MooTools" id ="mootools_syntax" commentExpr="(?s:/\*.*?\*/)|(?m-s://.*?$)" > <classRange mainExpr ="(^var[\t\x20]+[A-Za-z_]\w*\s*\=\s*\{|(\bvar)?[\t\x20]+[A-Za-z_]\w*\s*\=\s*new\s+[A-Za-z_]\w*\s*\(\s*\{)" openSymbole ="\{" closeSymbole="\}" > <className> <nameExpr expr="[\t\x20]+[A-Za-z_]\w*" /> <nameExpr expr="[A-Za-z_]\w*" /> </className> <function mainExpr="^[\t\x20]+\w+[\t\x20]*\:[\t\x20]*function" > <functionName> <funcNameExpr expr="[\t\x20]+\w+" /> <funcNameExpr expr="\w+" /> </functionName> </function> </classRange> <function mainExpr="((^|\s+|[;\}\.])([A-Za-z_]\w*\.)*[A-Za-z_]\w*\s*[=:]|^|[\s;\}]+)\s*function(\s+[A-Za-z_]?\w*\s*\([^\)\(]*\)|\([^\)\(]*\))[\n\s]*\{" > <functionName> <nameExpr expr="[A-Za-z_]\w*\s*[=:]|[A-Za-z_]?\w*\s*\(" /> <nameExpr expr="[A-Za-z_]?\w*" /> </functionName> <className> <nameExpr expr="([A-Za-z_]\w*\.)*[A-Za-z_]\w*\." /> <nameExpr expr="([A-Za-z_]\w*\.)*[A-Za-z_]\w*" /> </className> </function> </parser>
  • Need Help in "Define your language" section

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    @Anand-Mohan

    I don’t know PL1, but if it has any type of preprocessing ability like C does, you could do something like this:

    #define procend end

    and then use “procend” in your code. This is not ideal, I admit.

    Otherwise, I think you have to define all the statement N’s you might use as the beginning of some fold (Open:) and add the corresponding number of “end” statements to end the fold (Close:). That is, you can have multiple Open:, Middle: and Close: tokens; just make sure they are in the correct order (first Close: goes with the first Open:, etc.).

  • 0 Votes
    1 Posts
    950 Views
    No one has replied
  • Font Name and Size sets to default for every new launch

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Adding commas

    Locked
    3
    0 Votes
    3 Posts
    19k Views
    Zhana RisleyZ

    You are my new ‘Rock Star!’ That worked exactly like i needed it to!!! Thanks a million!

  • remove a word in a block

    Locked
    9
    0 Votes
    9 Posts
    4k Views
    Pouemes44P

    i think that i shall read the regex links before to try python :-)
    still thanks guy, your way to copy a block was really great for me

  • Help with strange highlight

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • The problem of adding Notepad++ to the list of default programs...

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Иван ЯщерицынИ

    (EN)
    Problem solved…
    In the settings menu added default program
    (RU)
    Проблемма решена…
    В меню настроек добавил программы по умолчанию

  • Open Files as Read Only

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How would i combine Every 3 Lines together?

    Locked
    3
    0 Votes
    3 Posts
    8k Views
    Aaron MCA

    Thank you man it worked! You came clutch for me. :)

  • Question about Macros

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    MaxsteinfeldM

    Hi Claudia,
    that works perfect !! many thx :-)
    feedback: if you make changes before running the modified macro
    npp asks if the changes should be saved.
    best regards
    Bernd

  • Combine Doc Switch and Function list

    7
    1 Votes
    7 Posts
    4k Views
    Matt HallM

    Does anyone know if something like this exists yet? Can’t Imagine I’m the only one missing this functionality!

  • How do I restore a html file?

    Locked
    1
    0 Votes
    1 Posts
    940 Views
    No one has replied
  • Delete near duplicate rows

    Locked
    1
    0 Votes
    1 Posts
    954 Views
    No one has replied
  • Blending out code sections and scroll 2 docs at the same time

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Michael SteinM

    Hi Scott, thanks for your answer, but unfortunately this does not help, because the lines are very long and to be able to fully see them I need to have automatic line break enabled. The translated german lines are even longer than the english ones. So a line in english that is wrapped into 3 lines sometimes goes to 4 lines in the german version. So the more I scroll down, the more difference I have. For example when I scoll the german version down to line 1200, the other text is still at line 950. What I need is to have the same line in both texts side by side.

  • CSS+HTML+JS+PHP code style/color

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to let jsx file highlight in notepad++ ?

    Locked
    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • Line operations in several files simultaneously

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • XAML support?

    7
    0 Votes
    7 Posts
    6k Views
    Robert PR

    Posted. Thanks! :)

    I didn’t realize the enhancement was over at github.

    Sorry about that :-\

  • Multiple Saving UTF-8 From Ansi

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Michele-Iddas

    A possible solution might look like this.

    Cheers
    Claudia