• Real Help wanted!

    4
    0 Votes
    4 Posts
    6k Views
    glennfromiowaG

    Hi all, just a note that, as of version 7.4.2 at least, @guy038 's final tip to reference the documentation from within Notepad++ no longer works. Shortcut Mapper\Main menu line 227 is now OEM 863 : French. Also be aware that some links in the 6.6.4 documentation still point to SourceForge, which Notepad++ moved off of at least a couple of years ago.

    I haven’t done any research, but does anyone know why we stopped updating the wiki? There’s some good information in there, but it’s obviously not being updated. I’d be willing to help with documentation/help files if there’s a project to update it.

  • function to replace ASCII CR & LF chars eg by spaces

    6
    0 Votes
    6 Posts
    5k Views
    glennfromiowaG

    @ElectrONICs-And-SYStems There is somewhat of a help for characters and codes in ASCII included with Notepad++. In the Edit menu, select Character Panel, and it will display the ASCII characters and codes.

    @MaDill The Find/Replace dialog box does save some number of recent searches; however, it does not allow you to save favorites like the program you used appears to. I know there’s been some discussion on how many searches can be saved, and how to possibly increase that.

    It’s not a bad suggestion, but some users posting here claim that each RegEx is generally unique. However, I for one, do like to have someplace to start when I create a RegEx. Currently, I use a text file with significant RegEx strings and descriptions of them. A limited number of “favourites” would be helpful.

  • Disable Ctrl+mousewheel zooming

    9
    0 Votes
    9 Posts
    6k Views
    gstaviG

    If you want to interact with NPP (few) developers go to its issues board.
    And you should definitely work on your tone if you want some cooperation to actually make a difference.
    You better actually build it and observe the code before you make suggestions.

    NPP is far from perfect but it is still better than the alternatives.
    Do your homework before you start your aggressive approach. This forum is filled with smarter people but most contributions to NPP user base are via suggestions, workarounds and plugins. Actual changes in the core product come in slower rate and this forum has little to do with them.

  • Selection moving everything

    2
    1 Votes
    2 Posts
    1k Views
    Andrés ZsögönA

    You mean, to prevent horizontal scrolling while selecting text? That would be great.

  • ForcePureLC behaving oddly

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Ctrl + D stop working

    2
    0 Votes
    2 Posts
    2k Views
    StanDogS

    I tried it with the current version of Notepad++ 7.4.2 and it works as it should.

    Does the shortcut mapper still show in the tab “Scintilla commands” for line 16 (SCI_SLECTIONDUBLICATE) the shortcut Ctrl+D? Also, did you installed new plugins recently? I would recommend to disable all plugins temporarily. Maybe one of them is overriding the shortcut.

  • bulk-edition of more than 8000 files

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    Eric ForceE

    Hi Holger. I might be able to help . Just go to my contact form below and send me a sample file. Best regards, Eric Force

    http://ericsbanners.com/contact.htm

  • Notepad++ HTML Attribute Value suggestions, how to?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Margins - formatting for printing

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    MAPJe71M

    Yes there is.

  • JavaScript Function List not working

    4
    0 Votes
    4 Posts
    7k Views
    t12122013 FinkT

    Hi
    I found that javascript function list does not work when there is a comment between the function (parameter list) and the opening curly bracket { of the function body.
    My solution is to remove the search for curly bracket {.
    In addition I added the construct d = new Function(“parameter1”,“parameter2”,“function body”).
    I tried a lot of things, changing the commentExpr did not help. I frequently do have comments between the function header and the opening curly bracket of the function body.

    It concerns the mainExpr

    mainExpr=“((^|\s+|[;}.])([A-Za-z_]\w*.)[A-Za-z_]\w\s*[=:]|^|[\s;}]+)\s*(?:new\s*)?function(\s+[A-Za-z_]?\w*\s*([^)(])|([^)(]))”

    (please excuse my formatting, and for tail-posting. I want to post my findings but I’m not fluent).

  • lost session for the nth time. Change from notepad++?

    Locked
    5
    1 Votes
    5 Posts
    3k Views
    Andrés ZsögönA

    I’ve just suddenly ended the N++ process and my session (with all changes) was correctly restored later. Anyway, a forced shutdown is not an elegant way to close Windows, it seems the problem lies at some point between the keyboard and the chair in this case.

  • Multiple language styles in single document

    Locked
    1
    0 Votes
    1 Posts
    971 Views
    No one has replied
  • Find unique characters / lines

    Locked
    2
    1 Votes
    2 Posts
    7k Views
    guy038G

    Hello, @カヒノビチアレクセイ

    Not very difficult, indeed !

    If you don’t mind about a final sort of your unique CJK characters, here is a way to achieve it, very quickly :-))

    First of all, just backup your original list ( A safe behaviour to adopt, in any case ! )

    Now, let suppose you have the following list of CJK characters. I just added, after a space, the Unicode code-point of each character

    丰 4E30 不 4E0D 丆 4E06 与 4E0E 不 4E0D 丰 4E30 且 4E14 世 4E16 中 4E2D 且 4E14 与 4E0E 丰 4E30 丟 4E1F 中 4E2D 与 4E0E 中 4E2D 丆 4E06 丰 4E30

    First, perform a classical sort, with the menu option Edit > Line Operations > Sort lines Lexicographically Ascending. We get, immediately, the sorted text, below :

    丆 4E06 丆 4E06 不 4E0D 不 4E0D 与 4E0E 与 4E0E 与 4E0E 且 4E14 且 4E14 世 4E16 丟 4E1F 中 4E2D 中 4E2D 中 4E2D 丰 4E30 丰 4E30 丰 4E30 丰 4E30

    Now :

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

    Open the Replace dialog ( Ctrl + H )

    In the Find what: zone, paste or type the regex (?-s)^(.+\R)\1+

    Leave the Replace with: zone EMPTY

    Select the Regular expression search mode

    Click on the Replace All button

    => You should get, only, the two lines, below :

    世 4E16 丟 4E1F

    Et voilà !! It just remains the two unique characters of the original list :-))

    Notes :

    The first part (?-s) is a modifier which implies that any dot will match a single standard character and not EOL characters

    Then, the ^ symbol is a zero-length assertion, which means beginning of line

    Now, the part (.+\R) represents a non-empty range of consecutive standard characters, followed by its EOL character(s). As the current complete line is enclosed in parentheses, it’s stored as group 1

    Finally, the part \1+, is a repeated back-reference to group 1, which looks for any non-empty range of consecutive lines, identical to the first one !

    As the replacement zone is EMPTY, all these repeated lines ( > 1 ) are simply deleted !

    Best Regards,

    guy038

  • Replace different values with one value

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    guy038G

    Hello, @Covertraptor90,

    Very easy, Indeed !

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

    Open the Replace dialog ( Ctrl + H )

    Paste or type the following regex search <drivingSkill>\d\.\d+</drivingSkill>, in the Find what: zone

    Paste or type the following replacement text <drivingSkill>1</drivingSkill>, in the Replace with: zone

    Select the Regular expression search mode

    Click on the Replace All button

    Et voilà !

    Notes :

    The syntax \d matches any single digit, from 0 to 9

    The escaped dot \. stands for the decimal dot character. It must be escaped because dot is, normally, a special regex character !

    The syntax \d+, identical to \d{1,}, matches any non empty range of consecutive digits

    Everything else is just text, which matches itself, in, both, search and replacement !

    Best Regards,

    guy038

  • Convertot Plugin upgrade always fails validation

    Locked
    1
    0 Votes
    1 Posts
    906 Views
    No one has replied
  • How to deal with "" tags

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Remove/Replace specific character from specific location

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Tobias IsakssonT

    Solved

    once i figured out that ^ and $ marks start/end it was easy :)

    New to this, dont judge me haha

  • Case sensitive fix.

    6
    0 Votes
    6 Posts
    5k Views
    dynamitttD

    Thank you!

  • Style colouring/coloring issues

    6
    0 Votes
    6 Posts
    4k Views
    Claudia FrankC

    @Wayne-Ivory

    Hi Wayne,

    Out of interest I compared the before-and-after config.xml files but didn’t see any differences

    it could be any of the xml files. If you still have the files and you are interested to find out which
    one and what caused the issue you need to compare them all but good to see that it is working
    again.

    Cheers
    Claudia

  • write in column mode add spaces for indention, instead of tabs

    3
    0 Votes
    3 Posts
    3k Views
    MaDillM

    Then let’s hope that N++ update Scintilla some day…