• Need help with configuring custom auto-complete (intellisense-like)

    5
    0 Votes
    5 Posts
    3k Views
    Boris ProkopenkoB

    That I have already figured out. That is the reason I asked about a special symbol, which would convert to a space but would not break the keywords parser

  • Portable version with spell checker?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    guy038G

    Hello, Ryan Smith,

    Just click, below, to see my post to Violetta Buono, which gives a solution to install the DSpellCheck N++ plugin, since the N++ v6.8 version.

    https://notepad-plus-plus.org/community/topic/6966/spell-checker-plugin-issue-with-v6-8-1-missing-gnu-aspell-and-or-dictionaries/2

    If your prefer to install the GNU Aspell dictionaries and the SpellChecker N++ plugin, refers to the method, below :

    https://notepad-plus-plus.org/community/topic/8206/method-to-install-gnu-aspell-win32-dictionaries-and-spell-check-plugin-on-n/1

    I do hope one of these two solutions will be helpful to you :-))

    Best Regards,

    guy038

  • 0 Votes
    12 Posts
    6k Views
    Jakub NerJ

    Gur,

    Works beautifully.

    Thank you kindly for all your efforts.

    Rest assured your work is much appreciated.

    Notepad++ with TagLEET is perfect for a use case like mine: legacy code base with a custom CTAGS language definition. Now, even for a language that’s case insensitive.

    There are other wonderful Notepad++ plugins for CTAGS, but they tend to focus on updating and regenerating the tags file. I couldn’t really figure out how to make them work with my TAGS and my .ctags–for the custom language I have to work with. With TagLEET there was literally no effort. Generate the TAGS file in the source code’s current folder or somewhere in an ancestor folder and that’s it.

    TagLEET is also brilliantly quick. My TAGS file is 140Mb and I saw no problems as of yet.

  • 0 Votes
    3 Posts
    2k Views
    Arvindran KalidasA

    Hi Guy038,

    Thank you for your response. I decided to update the Notepad++ version by uninstalling the version that was previously installed (which is weird because the previous version installed on the work machine was Notepad++ v7.2.2) and the REGEX function is working fine now.

    Cheers,
    Arvindran

  • 0 Votes
    5 Posts
    7k Views
    Yusuf QureshiY

    @guy038 you are the best… you just saved my lots of time. Thanks a lot you don’t know how much did you helped me here.

    Thankyou
    Thankyou
    Thankyou

  • Problems with Silent installer

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to fix bugs in custom language highlighting?

    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    Using Prefix mode on the Keywords Lists tab might help you to some degree. In one of the groups check Prefix mode and then enter $ in the text box. Finally, click on the Styler button to select the highlight style you want for hex numbers. This will work fine as long as you have some whitespace at the end of your hex numbers. Another limitation is it will highlight "$NotHex " in exactly the same way.

    If that works well enough, you can do something similar for “%” and “#”.

  • Issue with encoding in htaccess

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Getting text to go to the next line.

    2
    0 Votes
    2 Posts
    4k Views
    Saad MuhammadS

    If you want your text to go to the next line, you can use the <br> element. that means break, the <br> tag has no end tag that is in the HTML, while in the XHTML the <br> tag must be properly closed. Note that the <br> tag is used to enter line breaks, not to separate paragraphs. For example,

    <!DOCTYPE html>
    <html>
    <body>

    <p>
    To break lines<br>in a text,<br>use the br element.
    </p>

    </body>
    </html>

    here is your output:

    To break lines
    in a text,
    use the br element.

    Please let me know if it is useful. Thank you.

  • How to delete all lines in a document which has a specific text

    Locked
    5
    0 Votes
    5 Posts
    31k Views
    guy038G

    Hi, D visser,

    Oh ! you’re right ! Although it was correctly written in the Notes section, the general regex should be :

    (?-s)^.*Your Character|String|Range of Words|Regex expression.*\R ( and NOT (?s)..... ! )

    So, I updated my previous post !

    Below, here are the FOUR search regex, to enter in the Find what zone, in order to delete :

    A) All lines containing the string MEX, in that EXACT case

    (?-is)^.*MEX.*\R

    B) All lines containing the string MEX, WHATEVER its case

    (?i-s)^.*MEX.*\R

    C) All lines containing the word MEX, in that EXACT case

    (?-is)^.*\bMEX\b.*\R

    D) All lines containing the word MEX, WHATEVER its case

    (?i-s)^.*\bMEX\b.*\R

    Notes :

    Remember that the Replace with: zone must be EMPTY !

    The \b assertions represents, either, the zero-length limit, between :

    ( A non-word character OR the very beginning of a file ) AND a word character

    A word character AND ( a non-word character OR the very end of a file )

    The in-line modifier (?-i) forces the search, in a NON-insensitive way

    The in-line modifier (?i) forces the search, in a insensitive way

    So, suppose the original text, of four lines :

    Line 1 : Example ofMEX text Line 2 : Example ofmeX text Line 3 : Example of MEX text Line 4 : Example of MEx text

    Then :

    The regex A) would delete the lines 1 and 3

    The regex B) would delete the lines 1, 2, 3 and 4

    The regex C) would delete the line 3

    The regex D) would delete the lines 3 and 4

    Cheers,

    guy038

  • Toggle Cases in Switch

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Installer as MSI package

    Locked
    1
    0 Votes
    1 Posts
    8k Views
    No one has replied
  • Text Formatting

    Locked
    4
    0 Votes
    4 Posts
    8k Views
    ?

    @gstavi Yes that was spot on…my text manipulation was looking at \r [CR] when all it needed was to llok at \n [LF] first instead ! Thanks :)

  • How to paste raw data from image clipboard into notepad++?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    thoriq abdullahT

    must be try from new comer like me.

  • Indentation problem, html & php

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Save As Not Working

    9
    1 Votes
    9 Posts
    10k Views
    Santiago Raúl Molina RamirezS

    Check your security backup folder, I had the same problem and I solved it.

  • How to increase the max keyword dropdown size?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    dailD

    is this only work for specific language

    Lua is just used to control Scintilla features that are not exposed by Notepad++, but it will work for any language.

    what’s the “editor1” and “editor2” refer to ?

    Since Notepad++ can have two files open side-by-side it has 2 “editor” instances refered to as “editor1” and “editor2”. So setting both editors makes sure that if you move a file to another view it still works correctly.

    these i guess…https://dail8859.github.io/LuaScript/

    Yes that’s the official documentation.

  • Notepad++ doesn't remember docked window position

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Nathan Griffiths141N

    I have solved my problem with DisplayFusion.

    A native fix would still be desirable.

  • Double Quotation Marks

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    guy038G

    Hello, Surinder Ram,

    In your example, below, do you mean that the separator values is the real VERTICAL LINE, of Unicode value \x007C ?

    "Value_1"|"Value_2"|"Value_3"....

    If so, I suppose that you would like that :

    The syntax ""| would be changed into "|"

    The syntax |"" would be changed into "|"

    The syntax "" would be changed into "|"

    The syntax "| , NOT followed by a double quote mark, would be changed into "|"

    The syntax |" , NOT preceded by a double quote mark, would be changed into "|"

    The syntax |, NOT surrounded by two double quote marks, would be changed into "|"

    And, if any of these syntaxes, above, are found at the end of the current line, it would be changed into a single final double quote mark (")

    And, also, when the normal separator form "|" or NO separator, at all, is found, at end of the current line, it would be changed into a single " character

    In that case, just follow the few steps, below :

    Go back to the very beginning of your file ( Ctrl + Origin )

    Open the Replace dialog ( Ctrl + H )

    In the Find what zone, type (?:(""\||\|""|""|(?<!")\|"|"\|(?!")|(?<!")\|(?!")|"\|")|(?<=[^"|\r\n]))(?=(\R))|(?1)

    In the Replace with zone, type (?2":"|")

    Click on the Replace All button

    Et voilà !

    So, from the original example, below, where :

    Only, values 7 - 8 AND values 8 - 9 are correctly separated, on each line

    The value9 is correctly ended, in the first line, only

    value1"“|value2|”“value3"“value4”|value5|“value6|value7”|“value8”|“value9”
    value1"”|value2|““value3"“value4”|value5|“value6|value7”|“value8”|“value9|””
    value1"”|value2|““value3"“value4”|value5|“value6|value7”|“value8”|“value9"”|
    value1"”|value2|”“value3"“value4”|value5|“value6|value7”|“value8”|“value9"”
    value1"”|value2|““value3"“value4”|value5|“value6|value7”|“value8”|“value9|”
    value1"”|value2|”“value3"“value4”|value5|“value6|value7”|“value8”|“value9”|
    value1"”|value2|"“value3"“value4”|value5|“value6|value7”|“value8”|“value9|
    value1"”|value2|”“value3"“value4”|value5|“value6|value7”|“value8”|“value9
    value1"”|value2|”“value3"“value4”|value5|“value6|value7”|“value8”|“value9”|”

    After that S/R, the different separators would be changed and the different values correctly separated, as below :

    value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9" value1"|"value2"|"value3"|"value4"|"value5"|"value6"|"value7"|"value8"|"value9"

    If this S/R ,just, solves your problem, next time, I’ll explain the regexes used !

    Best Regards

    guy038

  • Regex: Add new empty line before/after some word - separated

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    Vasile CarausV

    Add a new line After the word_2:

    Search: WORD_2
    Replace By: \n\nWORD_2\n\n

    Add a new line Before word_1:

    Search: WORD_1
    Replace By: \n\nWORD_1\n

    Read here more:
    http://www.rexegg.com/regex-quickstart.html