• What is the blue dot in left margin

    3
    0 Votes
    3 Posts
    2k Views
    Alan KilbornA

    For my taste, the line number margin and the bookmark margin are not differentiated by color well enough. Sure, if you squint at it, you can tell that there is a difference, but I think often people think of this as only a single margin, containing the line number, and thus are confused when a “blue ball” marker also appears here.

    Here’s what the right-clicked bookmark margin looks like, for completeness:

    1a21c85a-8678-461c-a8fe-bc9e7e49865e-image.png

    BTW, Toggle Bookmark on this menu is fairly superfluous, as no one would right-click and choose that from the menu, when a simple left-click in the margin would toggle a bookmark on the current line. I think the N++ designers just left this in because it was easiest just to duplicate the Search (menu) > Bookmark (submenu), shown here to be the same:

    ee70d56b-a8f2-4c08-b7a1-a37b2da6001d-image.png

  • 0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @Russell-Rolfe ,

    Make sure that you have proper write-permissions in the C:\Program Files\Notepad++\ and C:\Program Files\Notepad++\functionList\ directories. You might have to run the installer in Run as Administrator mode to get Windows to give you those permissions, or use Windows Explorer’s right click Properties > Security > Edit (or Advanced) to give your normal user permission on those directories.

    Also, make sure that when you run the installer, you don’t have another instance of Notepad++ running, and that no other application has c.xml open. (To make sure this is true, you may want to reboot before running the installer.)

  • My plugin crashes because of a C# NuGet

    12
    0 Votes
    12 Posts
    730 Views
    Nick BrownN

    From the Home page of NotepadPlusPlusPluginPack.Net

    References The prefered way to use dependencies is via References, in the best-case through NuGet. Via NuGet you are able to add packages to your project, certain versions etc. through a global repository. Package information is stored in your project and other developers can gather the same, correct versions through the global repository without committing masses of data. To use included references in your compiled plugin you need to merge these into the .dll as Notepad++ is not fond of locating non-plugin .dll's in its folder. ILMerge was developed for the purpose of merging managed libraries. It can be installed via NuGet and used manually. The best way is to install MSBuild.ILMerge.Task via NuGet in your plugin project. It will include ILMerge as dependency and attach itself to your Visual Studio build process. By that, with every build you compile a merged plugin .dll including all your custom references to use. ILMerge will add configuration files to your project: ILMerge.props and ILMergeOrder.txt. Refer to the official homepage for more information about the configuration possibilities. Note: To use ILMerge in your plugin you have to change the Target Framework of your plugin project to at least .NET Framework 4.0 (CP). ILMerge can work with .NET 3.5 and below, but requires additional configuration and adaptation. If you do not required the extreme backwards compatibility, upgrade the .NET Framework target as quick and easy solution.
  • Help needed with column mode editing

    12
    0 Votes
    12 Posts
    9k Views
    Alan KilbornA

    @vij4yd

    I know its frowned upon to reply to old threads

    I don’t know that this is true, at least here…

    I had to signup just to comment this

    Yes, you did. Is that a problem?

    If the alt key on the left side of your keyboard does not work, try with the one on the right

    I’ve never heard of this making a difference, but what does make a difference, and isn’t mentioned in this thread, is using the dedicated arrow keys (works) versus using the shared arrow keys on the numeric keypad (doesn’t work). So…if any future readers are trying to get column selecting to work with the numeric keypad arrows, it isn’t going to.

  • -nosession Switch on CmdLine Used, session still loaded

    4
    0 Votes
    4 Posts
    376 Views
    Alan KilbornA

    @Dennis-Bareis said in -nosession Switch on CmdLine Used, session still loaded:

    I may have downloaded plugins that I don’t remember.

    Well, of course there is any easy way to show yourself (and others) your plugins. Looking at your Plugins menu is one way, example:

    5e04d692-296a-4959-bcb2-2a9ac0b9f092-image.png

    And going to the ? menu and choosing Debug Info is another way:

    088eb0ee-beba-46a6-9cb0-a571be85ed23-image.png

    It will give you something that looks like this:

    Imgur

  • No C++ in language menu

    2
    0 Votes
    2 Posts
    223 Views
    PeterJonesP

    @queenidog1 ,

    Your config files were corrupted. Most likely, exiting Notepad++, renaming %AppData%\Notepad++ 🛈 (ie, open Windows Explorer, type%AppData% with the percent signs in the Explorer navigation bar, and renaming Notepad++ to Notepad++.bak), and re-starting Notepad++ will regenerate your config files to the default, and C++ should be back in the list.

    17a41278-f21d-4e36-8e9d-fc140f964535-image.png

  • Indentation from copy and paste of json not preserved

    2
    0 Votes
    2 Posts
    290 Views
    PeterJonesP

    @Tina-Davis ,

    I have gone through every setting on the ‘old’ install and matched it to the new.

    Have you compared the ?-menu’s Debug Info on the two? Maybe there’s a different plugin on the old that you don’t have on the new (or different setting in one of those plugins)

    Have you done a detailed check of the Settings > Preferences > Language dialog’s Tab Settings section? Each different language has a different setting. The important ones for JSON are [Default] and json
    e63be1fb-9670-4ee7-b5ed-e2f0b0dd53e0-image.png
    39bedec9-45a1-4f12-a563-0617f9ed418f-image.png

    Also, did you select the main menu > Language > J > JSON before pasting? That would affect the tab options while editing.

    Though really, a paste should preserve the existing indentation, no matter what type of file it’s pasting into, and no matter what Tab settings are defined. So my best guess is still a plugin.

  • Jquery will not work in notepad++

    7
    0 Votes
    7 Posts
    579 Views
    Michael VincentM

    @Spencer-Halstead said in Jquery will not work in notepad++:

    Oh, I am a bit confused, because usually it shows the result when I view it in chrome. I got a clock to

    As @Alan-Kilborn says, this is not really a Notepad++ question. Did you try Google?

    Cheers.

  • Replace a specific word to reinsert the word one character before

    4
    0 Votes
    4 Posts
    208 Views
    Josef MörtlJ

    Hey guys … sooo fast … you guys are fantastic … both solutions worked perfectly … thousand thanks from bavaria

  • Cannot open a file from WSL2 share with Notepad++

    7
    0 Votes
    7 Posts
    1k Views
    WinterSilenceW

    @Michael-Vincent i found problem - i open NPP before add disc and it’s not displayed

  • Npp8.1.4 How to enable automatic line wrapping?

    6
    0 Votes
    6 Posts
    15k Views
    Alan KilbornA

    I think @Поп-Расстрига needs to clarify what exactly he wants noting that Notepad++ is NOT a word processor so comparing features to MS Word is not the best way to explain things.

    Probably this is true.

    I’m leaning toward the OP wants hard line-endings inserted, and this may be a good thing, because that’s probably an easier task than soft wrappings at a specific column. :-)

  • FunctionList omits the first Letter of the functionname sometimes

    3
    0 Votes
    3 Posts
    205 Views
    Michael VincentM

    @Ivan-Lippens said in FunctionList omits the first Letter of the functionname sometimes:

    A function named ‘Formula’ becames ‘ormula’ in the FunctionList, iFoto becames Foto, etc.
    In fact, every functionname starting with ‘if’, ‘for’ or ‘where’, loses its first letter in the FunctionList.

    It’s most likely the function definition of the language you’re using - the file in Notepad++/functionList/ .

    What language are you using? Is it a custom-defined function list XML file?

    Cheers.

  • Coding help to correct timestamps on caption file.

    9
    0 Votes
    9 Posts
    500 Views
    MaximillianMM

    @Terry-R Thanks for your help Terry!

  • 0 Votes
    3 Posts
    236 Views
    stresslevel99S

    It would take too long to type out out all the things I tried, so I’ll just get the end. There are two versions of Notepad++ installed on the system, both exhibit the problem. Both are not regular installations, but AppV. Downloaded same portable versions - works fine. Latest version - fine…

  • not saved in managed folders

    2
    0 Votes
    2 Posts
    147 Views
    EkopalypseE

    @Alkuilv7

    If you still have this problem, may I ask you to provide more details so we can better understand what you are doing?

  • 0 Votes
    3 Posts
    1k Views
    Daniel BriceñoD

    @Alan-Kilborn Gracia.

  • question

    8
    0 Votes
    8 Posts
    410 Views
    PeterJonesP

    @garrett-carey said in question:

    So I don’t need it anymore? And yea i’m on 64 bit

    Correct. You do not require TextFX Plugin to do alphabetic sorting of lines, because the sorting feature has been built into Notepad++ for years now. If follow the image that @Alan-Kilborn posted, you can see that you can go to the
    Edit menu, Line Operations submenu, Sort Lines … entries, and those will sort lines the lines in the active file. You do not need a plugin to do that; it has been in all versions of Notepad++ for years now.

    The official Usermanual has a page with a description of each entry in the Edit menu, which describes the differences in all the sorting commands: https://npp-user-manual.org/docs/editing/#edit-menu

  • 0 Votes
    8 Posts
    2k Views
    guy038G

    Hello @acme1235, @terry-r, @alan-kilborn and All,

    My bad ! I just paste the literal @terry-r’s text to test my regexes. So, I could’nt get the Search Results context options. Of course, Alan, your N++ solution is just the more simple and the best one ;-))

    Anyway, I suppose that @acme1235 should be pleased with the many ways to display results !

    BR

    guy038

  • Adding text from string

    3
    0 Votes
    3 Posts
    191 Views
    Francesco FerrariF

    @guy038 said in Adding text from string:

    $0<plugin_name>\1</plugin_name>\r\n

    WOW!!! You are just the best!!! :))))

    It worked first atemption!!!

    Thank you very much for your help!!!

    Best regards

    Franthesco

  • 0 Votes
    5 Posts
    263 Views
    franKENstinF

    @PeterJones said in Old document replaces current document after accidently unplugging usb flash drive that documents are stored on. ???:

    @franKENstin ,

    Notepad++'s unsaved-files backup location is not in the same folder as the file, it’s in the AppData hierarchy. (So if you want to use recovery software, try it there instead of where your old file was located)

    It is not an auto-save feature like you seem to think it is; for that, you need the AutoSave plugin (you must configure it). more on periodic-backup vs auto-save in our FAQ on the subject.

    If you hadn’t manually saved your file in over a year, then Notepad++ would never have written it to the main document folder – it would just keep happily doing the periodic backup in AppData, assuming you were able to save to a named file whenever you thought it was necessary.

    edited for clarity

    Well I could not find it there. I used many recovery app’s.
    But the odd thing is I found a version of it that was only a few days if no day’s old in a way deferent folder that some of my other documents are stored in…