• Syntax highlight entire line - or to end of line

    Locked
    11
    1 Votes
    11 Posts
    12k Views
    dailD

    how can I switch back to this custom highlighter

    The easiest way is probably just to switch to a file and switch back. The only other way I could think of is possibly tie it to a shortcut key.

    to do code-folding using BRACES or something?

    It technically should be possible since the plugin simply wraps all the API calls for Scintilla, however I’ve never actually messed with code folding at all so I’m not sure what all it would take to do it properly…so most likely I will pass on this.

  • PowerShell parser mixing smart quotes and the normal double quote

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    The parsers Notepad++ uses is from Scintilla. Notepad++ is using a bit older version but even in the newer version it looks like the parser for PowerShell would still have this problem. Would probably be best to report this issue to that project.

  • Function list tuning

    13
    0 Votes
    13 Posts
    11k Views
    Joseph CasellaJ

    this is very helpful i’m looking on dev-ing a website for some microsoft guy and he is trying to figure out the proper way for notepad++ for shopping.

  • Context sensitive help

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    @Randy-Harris Sorry, I am not familiar with the Language Help extension or AutoIt.

    If you are looking for function help, then you can create an XML file that will be used if you enable Function completion in the Settings–>Preferences–>Auto-Completion dialog.

    You can see several examples of the type of XML file in the plugins\APIs directory of your Notepad++ installation.

    You may have to do some other configuration to tie the file type (extension) of your AutoIt files to the XML file, but it may simply be that you have to name the XML file with the same extension of your AutoIt files.

    You can find related on-line help here: http://docs.notepad-plus-plus.org/index.php/Category:Auto_Completion

    Regards,
    Jim

  • Worsened search in files with the encoding win-1251

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Bookmarking Lines Containing Values in Other File

    4
    0 Votes
    4 Posts
    6k Views
    guy038G

    Hello Joe Murphy,

    I’ve got a solution :-))

    So, let’s suppose that you have :

    A huge file, File A, with a lot of records, containing several fields, separated with comma

    A smaller file, File B with some records, having the same organisation. This File B may contain, either :

    Some records identical to those, in File A

    Some fields, numbered n, identical to those, in File A, with the same number n

    Just one hypothesis : Each record must NOT begin with a comma character

    So, two main cases may happen :

    You need to bookmark all the records, of File A, that have a same record in File B

    You need to bookmark all the records, of File A, whose Field n have a corresponding Field n, in a record of File B

    Follow the different steps, below :

    Open, first, your file File B, in Notepad++

    Select all the contents of File B ( CTRL + A )

    Save it, in the clipboard ( CTRL + C )

    Now, open your file File A

    Add, at the end of File A, a new line #####, which will determine the boundary, between the two files File A and File B !

    You must choose any character, NOT present in, both, File A and File B. It may be, either, a @, %, &,… character

    Then append the contents of the clipboard, at the end of File A, after the line ##### ( CTRL + V )

    Go back to very beginning of the present File A ( CTRL + Origin )

    Open the Find dialog ( CTRL + F )

    Select the Mark tab

    Check the Bookmark line option

    Select the Regular expression search mode

    Depending of case 1) or 2) chosen, type in the regex :

    SEARCH : (?-s)^(.+\R)(?=(?s).*#####.*?\1) for case 1)

    SEARCH : ^([^,\r\n]+?,){n-1}\K([^,\r\n]+)(?=(?s).*#####.*?\2) for case 2)

    IMPORTANT : In the second regex, just change the n-1 formula by the appropriate number, depending on number n of the concerned field )

    Click on the Mark All button

    Depending of case 1) or 2) chosen :

    => All the lines, of File A, with an identical line, located downwards, after the line #####, ( from File B ) are bookmarked

    => All the lines, of File A, with an identical Field n, located downwards, after the line #####, ( from File B ) are bookmarked

    Move to line #####

    Delete from that line ##### to the end of the file ( all the appended lines of File B )

    Finally, save, the new state of File A, with all the bookmarks

    Et voilà !

    Notes :

    If some lines/fields are identical in File A, without, at least, one corresponding line/field, in File B, they are NOT bookmarked, due to the ##### boundary !

    If some lines/fields are identical, in File B, it doesn’t matter, as long as there is, at least, one corresponding line/field, in File A, which will be, correctly, bookmarked

    Best Regards,

    guy038

    P.S.. :

    I forgot to tell you about the (?s) and (?-s) modifiers :

    Usually, when the . matches newline option, of the Find dialog is unchecked OR when you use the (?-s) form, any dot, in the regex, stands for a standard character, that is to say any character, part of the class [^\r\n\f]

    However, when the . matches newline option is checked OR when you use the (?s) form, in regexes, the dot stands for absolutely any character ( standard and/or End of Line characters ). For instance, if the cursor is at the very beginning of the current file, the simple regex (?s).* matches any character and is equivalent to a CTRL + A command !!

  • HEX Editor plugin is marked non-stable and is disabled on each update

    6
    0 Votes
    6 Posts
    4k Views
    Bryan BernsB

    I know that if the Notepad settings structure doesn’t exist in the user’s AppData area, the plugin will hang upon launch of Notepad++.

  • Is there option "Enable virtual spaces" like SharpDevelop and VStudio ?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 1 Votes
    4 Posts
    16k Views
    guy038G

    Hello , Tino and Peter,

    Congratulations to you, both ! Tino, for nicely exposing your wish and Peter for your full explanation, about the proposed regex :-)

    An other S/R, using the \K syntax, could be :

    Find what : ^.{20}\K.{10}

    Replace with : 0000000000

    Notes :

    As soon as the first twenty characters of the current line are matched, the \K feature forces the regex engine to forget anything previously matched and reset the regex engine position !

    So the final match is, only, the ten characters, located between the columns 21 and 30

    … which is, simply, changed into the 0000000000 string :-)

    Remark :

    You must use the Replace All button, only. The step by step replacement, with the Replace button, does NOT work, when the search regex contains a \K form !

    Best regards,

    guy038

  • Find in Text Doesnt Work

    2
    0 Votes
    2 Posts
    6k Views
    Michel SM

    ‘find in files ’ : SHIFT+CTRL+F or CTRL +F , use tab’find in files’
    Select directories , subfolders, filters
    I have no problems with 6.9.2. 1 Win10.

  • This ANSI plugin is not compatible with your Unicode Notepad++

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    dailD

    Most of those sound like some other type of DLL not meant to be loaded as a plugin.

    I assume these plugins are installed with the application

    Nope. It’s possible some other plugin (e.g. Wakatime.dll) installed them.

    Can I simply delete the offending .dll files?

    In theory yes. Unless for some reason Rainlexer.dll needs them.

  • I need to convert about 1500 files from ANSI to UFT8

    Locked
    2
    0 Votes
    2 Posts
    2k Views
  • 1 Votes
    5 Posts
    3k Views
    Ronan RedstoneR

    I ended up blowing away the install completely, and completely reinstalling, and re-adding the plugins. It now works.
    It’s possible that there is an issue with the upgrade process somewhere -I’ve been updating it for 4 years without removing it.

  • CTRL + H , replace with ALT key

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • downloading issues!

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • NPP Unicode(?) rendering problems

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Change the look of folded code

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    No it’s not possible.

  • 0 Votes
    4 Posts
    5k Views
    Daniel MercadoD

    Nope.

    “Final All in Current Document” is not in the list of items which can be mapped to a shortcut key sequence.

  • Auto indent

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Mandar SantM

    @guy038 but how for html and css etc…

  • How are print margins set? Can rulers be set?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied