• "Please reinstall NotepadStarter"

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Feature to switch clipboard text with highlited text.

    4
    0 Votes
    4 Posts
    2k Views
    Scott SumnerS

    @wessam-moustafa said:

    Just wondering whey didn’t you use “Editor.copyText(text) → int”

    No good reason for not using that function in this. I think I copied the more complex code from a script I had which was doing something a bit more complicated, and totally unnecessary for swapping clipboard and selected text. Thanks for pointing out the simplification!

  • Feature Request: Character Count

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @ibryant

    Go to the View menu. Select “View Summary…”. In the resulting popup will be “Characters (without blanks)” and a number representing the same for your document.

    The “blanks” it is referring to seems to be line-endings; it seems a better word could have been chosen rather than “blanks”.

  • Notepad++ does not install with knowledge of Python 3.5 Syntax.

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Create new file? dialog. How to disable prompt?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • What's Regex syntax of "Replace with"?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    古旮

    Thank you very much!

  • Help with Basic Regular Expression Search

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    dailD

    @Marshall-Medoff

    does this site have the equivalent of Karma or gold?

    I’m not really sure how the reddit system works. The reputation here doesn’t really have much value, I think mostly just to weed out spam accounts.

  • Convert Case to ...

    10
    0 Votes
    10 Posts
    32k Views
    Scott SumnerS

    @ortomind

    There is documentation on how to place search+replace in a macro, here: http://docs.notepad-plus-plus.org/index.php/Editing_Configuration_Files#Search_.2F_Replace_encoding

    That may be a bit cryptic, but here’s one example of many that can be found, that show how to implement a real use-case: https://notepad-plus-plus.org/community/topic/11735/notepad-macro-not-working-correctly/2

    You can adapt this example (which coincidentally also involves upper/lowercase manipulation!) for what you’re trying to do.

  • Rel not working

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 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