• Lost Data on Update today

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • TV video files to the regulation canlı tv

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • OpenSCAD 3D modelling language support

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    guy038G
    Hello Joao, When the possibility to link a parser_ID to a name of user-defined language was, first, added, in N++ v6.5, on October 2014, I noticed that the other method, using the extension name of user-defined files, didn’t work at all. Of course, I informed Don ( and some other guys too ) about that issue ! Refer to the first part of my post, below : http://sourceforge.net/p/notepad-plus/discussion/331753/thread/627d7ac2/#9ff7 Unfortunately, that issue hasn’t been fixed, yet. So, Joao, in the assocciationMap node, you MUST use the only syntax : <association userDefinedLangName="OpenSCAD" id="OpenSCAD_file"/> By the way, you just have to create a new user-defined language with name OpenSCAD, using the extension scad. It’s no use to define the characteristics of your language, to allow your own functionList parser to work :-) Secondly, I, slightly, changed your regexes for, both, the mainExpr and Expr items : I suppose that there is, at least, one blank character, after the key words Module and Function I changed the syntax [\t ], with the simple \h syntax. Indeed, the exact meaning of \h, with the BOOST regex library, used in N++, is [\t \xA0] ( also known as an horizontal blank character ) In expr, I use the \K syntax, which allows the regex engine to forget everything located on the left of this form ! So, the exact name of the module or the function, without any possible leading blank characters, will be displayed in the FunctionList window :-) Therefore, in the parsers node, add the lines below : <parser id="OpenSCAD_file" displayName="OpenSCAD" commentExpr="((/*.?*)/|(//.?$))"> <function mainExpr="^\h*(module|function)\h+\w+" displayMode="$functionName"> <functionName> <nameExpr expr="^\h*(module|function)\h+\K\w+"/> </functionName> </function> </parser> For instance, these regexes allow the detection of these four syntaxes, below : module Test_1 function Test2 module Test3 function Test_4 Thirdly, your regex, used to detect the comments, ((/*.?*)/|(//.?$)), is NOT a valid regular expression ! So, to define the correct regex, could you tell me the different cases of comments, in OpenSCAD language. From the general form of this regex, I presume that : A comment line begins with a double slash // A comment block begins, with the form /* and ends with the form */ Am I right about it ? See you soon ! Best regards, guy038 P.S. : Some people may think : Why couldn’t he use a lookbehind construction in expr ? Indeed, the form below, with a positive lookbehind , seemingly, should work nice ? <nameExpr expr="(?<=(module|function)\h+)\w+"/> But, in the BOOST regex library, lookbehinds must represent an UNIQUE FIXED length strings. So, this regex is INVALID, for two reasons : The two parts of the alternative, (module|function), have a different length ( 6 characters for the string module and 8 characters for the string function ) The form \h+ is NOT a fixed length string, as it stands for one or more horizontal blank character(s) ! Luckily, the \K syntax allows the regex engine to match : First, the part of the regex, located before the \K form Secondly, the part of the regex, located, after the \K form, which is the final regex matched !
  • Android app version

    Locked
    3
    0 Votes
    3 Posts
    10k Views
    dailD
    Actually, there are a couple using this name. I did not see this one at first. It is using the N++ icon and can clearly be misleading…would be nice to have this removed ASAP!
  • Bug in VHDL color coding

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Andrey AshA
    You can actually see wrong color coding in the example here also, it thinks the last “-- synthesis translate_on” comment continues forever, which is not the case.
  • Notepad++ doesn't open if I install any plugin

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    Wendy JanssenW
    Update - the plugin SherloXplorer has saved my working existence! It installed, my Notepad++ opens up no problem and is arguably better than explorer.
  • Feature request: Signed updates

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD
    This was brought up a while ago. No idea if/when it will happen.
  • & in filename being interpreted as hotkey

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    dailD
    Also, it may be due to Win10 since I’ve just got Win7
  • DspellCheck and Windows 10

    3
    0 Votes
    3 Posts
    6k Views
    Kym FarnikK
    See: https://notepad-plus-plus.org/community/topic/201/spellcheck – download manually
  • N++ leaving SourceForge: too easy to not notice this news?

    Locked
    2
    1 Votes
    2 Posts
    2k Views
    Kym FarnikK
    There was a News item and info on the front page for a fair while from memory. I tend to keep up to date with versions. People who lag (for any reason, not all bad) need to phone home when they do upgrade; i.e. check the main site before upgrading any software.
  • GUI: shortcut window graphical revamp

    Locked gui pullrequest
    5
    0 Votes
    5 Posts
    5k Views
    lordkrandelL
    A light yellow background could make it more visible. Yellow is more suitable for a warning than red. Red means “error”. I’ll make it sure that it doesn’t look like a lemon though.
  • Feature Request: Ctrl-X behaves like Ctrl-L when no text selected

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Marcus MannM
    thanks!
  • Feature Request: Support Unix slashes in File/Open dialog

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • FEATURE REQUEST: Wrap Searches

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Daniel SantosD
    Oh boy… I missed that one… The Portuguese translation for that option makes it unobvious… Many thanks!
  • Looking for someone to hire for syntax coloring work

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Camilla CoxC
    Would love to be part of project. Please send information. Thanks
  • Stata do-file suggestion

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    8 Posts
    8k Views
    Bit-HunterB
    Here is a new and definitive link : https://mega.nz/#!psYBlRLZ!qfZJydrHWu6TomqV-PjrEdyirdiHQVe1iP7N6nry0rk Regards.
  • N++ Development: GUI editing

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    lordkrandelL
    I have the Enterprise edition available at the office. Any paid version of Visual Studio includes the resource editor. The only free alternative graphical resource editors I know are ResEdit and ResourceHacker http://www.angusj.com/resourcehacker/#download
  • Command line switch to control which view a file opens in?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Changing Preferences On New Releases

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    dailD
    You can disable N++ from inserting the closing parenthesis and brackets. And easy increase the font size.