• 3 things on column-edit and multi-edit modes

    4
    0 Votes
    4 Posts
    350 Views
    Victorel PetrovichV

    The answer to my question is probably no;
    I have found it’s easy to create a script (to which can assign the shortcut), using the following ingredients:

    SCI_ADDSELECTION SCI_GETCURRENTPOS SCI_GETANCHOR SCI_GETCOLUMN SCI_LINEFROMPOSITION SCI_FINDCOLUMN

    But it might be worth having it natively in Npp.

  • [Feature Request] Increase number of delimiters

    11
    0 Votes
    11 Posts
    754 Views
    Victorel PetrovichV

    @deleelee said in [Feature Request] Increase number of delimiters:

    The only issue I see with this is that some people may want to define ‘unmatched’ delimiters (eg: ( to open and ] to close)

    I believe that by “matching pair”, in his reply, @PeterJones meant whatever you define it to be, so it can be (] if you want so.
    His general suggestion on space-separated lists covers that, so you can include that as an alternative in your github request.

  • Save as [type] lacks an option for .py (python) file

    9
    1 Votes
    9 Posts
    3k Views
    deleeleeD

    @PeterJones said in Save as [type] lacks an option for .py (python) file:

    The natural implementation would be for Notepad++ to include the extensions listed in all loaded User Defined Languages in addition to the native language file extensions

    I agree 100% and have added my support to your request. I also think we should be able to add file extensions for languages we don’t have UDLs for, and I’ve mentioned that as well.

  • visual studio like enhancements

    3
    0 Votes
    3 Posts
    404 Views
    Mark OlsonM

    I would add that the LSP clients in Notepad++ are cool, but ultimately it is very hard for the single-digit number of developers working on them part-time to compete with the large teams of developers working on improving the LSP clients for other applications like Visual Studio and VSCode.

  • [feature request] Move tab to beginning / end

    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @Saiapatsu said in [feature request] Move tab to beginning / end:

    Here are LuaScript functions for this, which don’t seem too difficult to port to other scripting plugins

    Indeed; here’s a PythonScript version:

    # -*- coding: utf-8 -*- # references: # https://community.notepad-plus-plus.org/topic/24799 # for newbie info on PythonScripts, see https://community.notepad-plus-plus.org/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript from Npp import * def get_number_of_tabs(view=None): retval = 0 if view is None: retval = len(notepad.getFiles()) else: for (pathname, buffer_id, index, v) in notepad.getFiles(): if v == view: retval += 1 return retval curr_view = notepad.getCurrentView() curr_doc_index = notepad.getCurrentDocIndex(curr_view) if 1: # move tab to end positions_to_move = get_number_of_tabs(curr_view) - curr_doc_index - 1 for __ in range(positions_to_move): notepad.menuCommand(MENUCOMMAND.VIEW_TAB_MOVEFORWARD) else: # move tab to beginning positions_to_move = curr_doc_index for __ in range(positions_to_move): notepad.menuCommand(MENUCOMMAND.VIEW_TAB_MOVEBACKWARD)
  • End of version support dates

    3
    0 Votes
    3 Posts
    1k Views
    PeterJonesP

    @Sonali-Sonu ,

    End of version support dates

    That’s not Notepad++'s “support” model. The support model is “if you find a bug, try the most recent version; if it’s not fixed, report the bug in the most recent version at the official issues pages”.

    There will never be a “v8.4.6 bugfix” version once a version after v8.4.6 has been released. Bug fixes always go in the most recent release.

  • Mouse cursor visibility when typing starts

    8
  • Function list for C++ do not show constructors

    13
    0 Votes
    13 Posts
    1k Views
    Mario KorvaM

    @PeterJones and others
    Constructors and destructors do not have return type. Researching Regex sequences of the Function List parser with RegEx101 tool shows that the parser expects functions to have return type. Functions without return type do not appear in the Function List. I changed Regex making return type optional. Change makes constructors without initializer to appear in the Function List but destructors are still missing. The reason is the name of the destructor which starts with tilde ‘~’ which is not the word character. Regex expects function names to be words. Changing the Regex seguence “\w+” to “~?\w+” enables function names to start with tilde. Now destructors are shown also. Constructors with initializer are still missing though. They contain additional code inside initializer between ‘:’ and ‘{’ and the Regex inside mainExpr marks “functions” found inside initalizer too. That confuses the parser and Function List is not built. Regex should skip the code inside the initializer, but I don’t know how to achieve this without regular expression replacement or modification which is not supported inside the parser.
    I found that changes in overrideMap.xml are ignored, only changes in cpp.xml are being accepted.

    Example:

    // ExampleClass.h class ExampleClass { private: int i; int j; public: ExampleClass(int x, int y=0); // ctor1 ExampleClass(); // ctor2 ~ExampleClass(); // dtor void Method1(); int Method2() { return i+j; } }; // ExampleClass.cpp #include "ExampleClass.h" // constructor with initializer (ctor1) ExampleClass::ExampleClass(int x, int y) : i(x), j(y) { allocate(); } // constructor without initializer (ctor2) ExampleClass::ExampleClass() { i = 0; j = 0; allocate(); } // destructor (dtor) ExampleClass::~ExampleClass() { deallocate(); } // function not belonging to the class void HelperFunction() { return; } // class method void ExampleClass::Method1() { return; }

    Function list with modified cpp.xml:
    ba3429fb-67ec-43cf-80e8-e5701df3f950-image.png

    I put modified cpp.xml on temporary test location for those who want to test it.

    I tested modified cpp.xml on my sources and it works for me.

  • Increase the space between toolbar and the first line.

    3
    0 Votes
    3 Posts
    236 Views
    Aminul Haque OvyA

    @Alan-Kilborn I was tinkering everything on that page but unfortunately couldn’t find what I was looking for. I’m new to NPP so excuse my lack of knowledge. Enabling each 4 ‘Fold Margin Style’ does the same: creates a very thin line around the page. “Border Width” does nothing changing value.
    Actually what I’m looking for (green marked in the image below) is kind of like “Padding: Top”. Thanks for your reply.

    NPP top padding.png

  • Newbie Question - Please be Gentle

    9
    0 Votes
    9 Posts
    428 Views
    mkupperM

    @RH-Hutchins My advice for HTML, or anything, and NP++, or anything, is to aim small. If you type “aim small” into Google you will discover there’s a second part and it’s “aim small, miss small” but it all starts with “aim small.”

    Work on understanding small pieces that are easy to chew and swallow. If you come across something that seems too large to consume comfortably then cut it into smaller pieces.

    HTML in itself is a huge topic. Most of the web developers I have run across seem to know 1% or of HTML. When they need to work on a web page developed by someone else they often throw out the old/previous work as their 1% does not line up with the 1% of the previous developer.

    As far as using NP++ goes, I myself use plain NP++ with no plugins or other special support for HTML. I test the HTML code using a web browser.

  • Windows 11 contextmenu

    3
    0 Votes
    3 Posts
    368 Views
    Modz2014 modzM

    @PeterJones well i was wondering if its possible to fix but i have searched about this and apprently it can not be fixed so thats why its a dicussion abou the approach just seeing if others have founnd the solution for it

  • How to edit the *wiki* page on github?

    4
    0 Votes
    4 Posts
    262 Views
    Victorel PetrovichV

    @PeterJones
    I see, thanks for the reply.

  • Html Editor with color coded strings?

    3
    0 Votes
    3 Posts
    844 Views
    Taylor ReaumeT

    @PeterJones Thank you!

  • Increase the size of the Search Field

    11
  • Notepad++ delete 2 lines below a specific string

    10
    0 Votes
    10 Posts
    1k Views
    PeterJonesP

    @Foodland2023 said in Notepad++ delete 2 lines below a specific string:

    Could you suggest any link which gives the detailed explanation of all these?

    Yes. In fact, I already did. In my post above: the USEFUL REFERNCES in big bold letters led to links to the Notepad++ Online User Manual: Searching/Regex and to the “FAQ: Where to find other regular expressions (regex) documentation”. That rather gave you what you asked for two hours before you asked for it.

  • 1 Votes
    5 Posts
    400 Views
    mkupperM

    @wonkawilly It looks like you have found a good reason to get access to a newer computer and a more structured learning environment than youtube videos. Hopefully there are people in your life that can help and support you in that area.

    To get the thread back on the Notepad++ topic, you could try posing the question “Is it possible to recompile Notepad++ on Windows NT 4.0?” or whatever version of Windows you have. Once you are able to generate an .exe file that works then tweaking it via changes to the source code is far easier to learn plus understand than doing the same from the ground up.

    I thought Notepad++ could be compiled using gcc, which is more portable, but it’s possible the code has gone down the Visual Studio path long enough that gcc is no longer an option.

  • CHECKSUM](/topic/24739/gup-exe-hash-checksum)

    2
    0 Votes
    2 Posts
    175 Views
    Terry RT

    @vijay-kumar
    This was the posters reply to solutions provided in a previous thread here.

    Please don’t do this as someone reading your reply will have no idea what you refer to. You should have replied in the original thread you started.

    I have provided links in both threads so readers will understand what was asked and the replies given.

    Terry

  • GUP.EXE HASH CHECKSUM

    4
    0 Votes
    4 Posts
    391 Views
    Terry RT

    @vijay-kumar
    This poster replied to what they started here in another new thread here.

    The replies appear to have satisfied them.

    Terry

  • How to view encoded string as text

    6
    0 Votes
    6 Posts
    930 Views
    toubeptT

    @mkupper Thank you for your thoughts on this. The strings are from hackers. They aren’t getting in. I wanted to have an automatic script to block them when they try since they try over and over. I know I can use regex to do that but I also wanted to see what they were looking for to see if it is something that might need tightening up. I would have a report that said something like, “10 attempts to access example.php”. But that seems not to be a simple thing so I will just block them with regex and leave it at that. Thanks, again.

  • Bookmark / pin files

    6
    0 Votes
    6 Posts
    5k Views
    BorisAdamsB

    @David-Shepherd Worked for me - thanks. The first time, when I right-clicked from Windows Explorer I selected “edit”, and the file opened in Notepad++ but the file didn’t appear in the taskbar for np++. Then I went to “Open with…” and selected it, and got it in the taskbar, and can pin it - just as you say.