• Keywords List Nesting disabled

    2
    0 Votes
    2 Posts
    433 Views
    PeterJonesP

    @giorgio-setti said in Keywords List Nesting disabled:

    Hi, do you know why the “Keywords List - Nesting menu” is disabled?

    How would you nest one keyword inside another? Let’s say I have the keywords word and float in Keyword 1 and the words and and or and not in Keyword 2. If you were able to tell the UDL engine that you wanted to be able to nest Keyword 1 inside Keyword 2, what would that even mean? awordnd ? ofloatr? Nesting keywords inside each other is nonsensical, and thus the UDL engine disables that portion of the dialog box. (They leave that portion of the dialog box because it was easier to program it to just disable that section than to hide that section, or use a different dialog box template for the two different Styler Dialog conditions.)

    Other of the Styler Dialogs, like Operators & Delimiters, have the Nesting checkboxes available, because the delimiters have both a start and an end, so it makes logical sense to be able to allow certain keywords to occur between certain delimiters – for example, if you used { and } as an open/close pair, it makes sense to be able to nest keywords like if and abs() inside them; and if you use "/" as an open/close pair, it makes sense to not allow keywords inside the quoted strings.

    f642bcf9-23f3-4e7e-bb9f-bdc6e97e4e43-image.png

  • How to group tabs?

    11
    2 Votes
    11 Posts
    7k Views
    artie-finkelsteinA

    @sean-sean
    I don’t often use it these days, but I did setup a vertical pseudo-tab grouping system with the Favorites feature of the Explorer plugin. Note: I found this version to be more stable than the 1.9.4 offered in Plugins Admin (which thinks that’s the most recent of the three versions I’ve found).

    I stopped using it because I found the effort to create groups was too high for my frequent updates of “tab layout”. But it’s great for static projects or groups of common/support files.

  • Word wrap

    3
    0 Votes
    3 Posts
    678 Views
    artie-finkelsteinA

    @barry-grossman
    The menu item Edit > Line Operations > Split Lines may do what you want if you first set the wrap column using the Preferences > Margins/Border/Edge > Vertical Edge Settings. See the online user manual for more details.

  • Recent/Pinned documents missing from the right-click pop-up menu

    4
    0 Votes
    4 Posts
    767 Views
    Daniel DayD

    @PeterJones

    I was able to add pins by dragging documents onto the notepad++ icon. I got the idea here. So I guess the main issue now is that recents are not showing up.

    Notepad++2.PNG

  • text becomes blurry

    5
    0 Votes
    5 Posts
    4k Views
    gstaviG

    @jonathan-patterson

    There are lots of issues with High DPI monitors. Notepad++ tries to be “DPI Aware” and many of the features around this are new to Windows. Could be that a related change is not backward compatible with Windows 7.

    Generally the blurry area is rendered by Scintilla and not by Notepad++ itself. And Scintilla has its own DPI challenges.

    Do you use custom DPI for the OS? Does it make a difference if you change it?

    If you run Notepad++ from a shortcut, enter its properties and observe compatibility tab. There aren’t as many settings as newer Windows but there is still High DPI related settings that may make a difference.

    See if enabling/disabling Notepad++ option “Use DirectWrite” makes a difference.

    Try playing with your video adapter properties, enabling/disabling 2D optimizations, even if you wouldn’t want to change it permanently, it could help identify the problem area.

  • Deleting content from files also opened in other programs

    13
    0 Votes
    13 Posts
    1k Views
    pnedevP

    @gstavi ,

    I couldn’t agree more. Writing to a file that has been open for writing by another process is definitely not a good idea. That’s why in my initial PR it was forbidden. But your suggestion is really great because this way we still give the user the possibility to overwrite the file while warning him upfront about the write access conflict. Excellent.
    We should distinguish between file open failure due to write sharing violation or write permission failure so we either suggest ‘Force Save’ or ‘Admin Mode Save’. Perhaps GetError will help in that matter.

  • deleting specific lines that don't meet a criteria

    12
    0 Votes
    12 Posts
    1k Views
    Neil SchipperN

    Hi @astrosofista & @guy038 & @alan-kilborn,

    OK, I found some closure on this. When re-running my bookmarking regex I noticed activity in the BookmarksDook panel. If I made the panel invisible, the process was still very slow.

    I also observed that a native bookmarking process like Inverse Bookmark (which has nothing to do with running a regex) was super slow.

    Then I went to a different Npp instance, this one minimalist (no plugins), and ran the regex against the same data, and the process was blink-of-an-eye. I then doubled the data to 2k lines, and it was still pretty much instant.

    Then I took Bookmarks@Dook out of the earlier instance (moved plug-in subdir away, restarted): the bookmarking by regex process was instant. Restored Bookmarks@Dook plugin, slow again.

    So there you have it.

    @alan-kilborn Those threads deal with bookmark processes driven by PythonScript, not native. The two issues might still be related. None of those discussions made mention of the presence or absence of the plugin.

  • How to turn Link into clickable description

    5
    0 Votes
    5 Posts
    26k Views
    NIKKO DE MONTECRISTON

    This is not straightforward, but you could have a table with 2 columns,
    one with the short label (alias) and the other with the real address link and:

    press a defined key to a macro for translating the alias click at the shown link

    Maybe it can be done with only one click,
    if the macro recorder accepts TO
    assign and call the translator macro AND call the final link
    in just one procedure.

    EXAMPLE
    Notepad Macro Shortener& Expander to a web link or a local file

    ALIAS LINK

    link1 file:///C:\Users\myUser\Documents\file1.txt
    link2 http://myURL/file2.txt

    **** Functions *******

    MACRO LINK_UNZIP (define Key1) *******
    INPUT = link1

    search link1

    replace file:///C:\Users\myUser\Documents\file1.txt

    MACRO LINK_ZIP (define Key2) *******
    INPUT = file:///C:\Users\myUser\Documents\file1.txt

    search file:///C:\Users\myUser\Documents\file1.txt

    replace link1

    See the example below:
    sample.png

  • Background :v

    2
    -1 Votes
    2 Posts
    858 Views
    PeterJonesP

    @1338-bang ,

    What part of “text editor” makes you think “background image”?

    There are two interpretations I can see of what you are asking, so the next two paragraphs will reply to those interpretations.

    #1: How to see a background image in Notepad++? Notepad++ is a text editor, not a page layout program. Even if you did convince Notepad++ to show a background image, it would only be for your copy of Notepad++, and not for anyone else using NPP or any other text editor, because text files have no concept of a background image.

    #2: How to get background image in HTML using Notepad++? If you are editing HTML or similar text-based code in Notepad++, that’s something you can do. And if you are asking how to implement a background image in your language of choice, I would reply that you type the appropriate syntax, the same way you type anything in Notepad++. If you have questions about the syntax, that is off topic here, because this Community is about the editor, not the language you happen to be typing with the editor: HTML questions belong in an HTML forum, not a text editor forum, and not the Notepad++ Community Forum in particular.

    Hopefully one of those two will lead you in the right direction.

  • Find a line and copy the next 10 lines

    16
    0 Votes
    16 Posts
    2k Views
    Alan KilbornA

    @neil-schipper

    Wow, Neil, thanks for dealing with THAT, and sparing me. :-)

    @Muthuraj-Madasamy

    Additional good reference on regular expressions (the technique shown above to solve the problem) is found starting HERE.

  • Line feed in a notepad++ file

    4
    0 Votes
    4 Posts
    4k Views
    Neil SchipperN

    @jo-business You didn’t take @alan-kilborn’s advice. Change what you have in the Recherche box to \r\n and you should be fine.

    Also, play with the menu options under View -> Show Symbol (or it’s equivalent in your language) to help you to see what is normally invisible but sometimes important.

    Finally, I’m pretty sure:

    For the moment in the search tab I put : \nThey’re not the only ones.

    is not what you actually typed. Have a look at https://community.notepad-plus-plus.org/topic/21965/please-read-before-posting/1 and learn to use the triple backquote techniques for (mostly) trouble free communication when posting here.

  • Presentation mode?

    5
    0 Votes
    5 Posts
    579 Views
    Alan KilbornA

    @roweryan said in Presentation mode?:

    Maybe this could make it to mainline np++ one day

    It seems perfect as an add-on script.
    Glad that it works for you.

    Now you have a reason to never exit N++.
    If you need such a reason.
    :-)

  • Toolbar displaying all buttons

    8
    0 Votes
    8 Posts
    1k Views
    artie-finkelsteinA

    @deleelee said in Toolbar displaying all buttons:

    Plugins : (most listings deleted) _CustomizeToolbar.dll

    I’m going to guess that Customize Toolbar “lost” it’s configuration file (your_plugins_path)\Config\CustomizeToolbar.dat and it is no longer suppressing the display of some toolbar icons. The .dat file may need to be recreated if it exists but is corrupted. I suggest using the most recent version of the plugin (5.3) as I’ve found it to be much more stable when changing the active Notepad++ executable within the same installation.

  • Find&Replace does not work in UI

    3
    0 Votes
    3 Posts
    261 Views
    Alan KilbornA

    @yang-yongzhao said in Find&Replace does not work in UI:

    the pop window just goes to another monitor

    The Find window remembers where you last put it, so, if this is on another monitor, so be it.

  • 0 Votes
    3 Posts
    349 Views
    Ki AnK

    @alan-kilborn Thank You, Solved :-)

  • Dragging "Find result" window is very slow

    6
  • The auto complete for xml tag is incorrect.

    3
    0 Votes
    3 Posts
    493 Views
    Earth InvaderE

    @michael-vincent You are right. Thanks

  • Possible to replace multiple text instances based on certain parent text?

    7
    0 Votes
    7 Posts
    751 Views
    Shannon GloverS

    @alan-kilborn Thank you. This is what I was anticipating after searching around a bit. I’ll take some time to familiarize myself with this and see if I can get it to work.

  • Mouse Button Shortcuts Fail

    20
    0 Votes
    20 Posts
    2k Views
    NotSoBitWiseN

    @artie-finkelstein
    The Logitech software has been problematic for years. In SetPoint, the toggle setting to control application specific buttons does not persist during system restarts. It also fails to support all the mouse options so you still need to load the Windows mouse utility for some settings. Their newer Logitech Options utility has made things worse since you still need SetPoint AND Windows Mouse for complete control. You have to wonder what their design strategy might be.

  • Character in UTF mode appears as an empty character (stroked square)!

    7
    0 Votes
    7 Posts
    2k Views
    JamesWebbJ

    @peterjones Many thanks. You are pro user (of NP++) and I know nothing about “NP++”!

    I always have checked all “Enable global xxx…” on. I unchecked them and changed “Default Style” (in Style Config) to my specific font and it fixed that :) . The missing characters are shown with that specific font and style.

    Thanks again… It was my headache for a long time.