• Find/Replace number with Increment Value

    12
    0 Votes
    12 Posts
    3k Views
    guy038G
    Hello @peterjones, @DJSpirosG and All, I suppose that the regex, in the Python script, is r'^(\\[#)(\d+)(\\])' and NOT r'^(\[#)(\d+)(\])' !! If so, Peter, I can edit your post and make the corrections. Just tell me ! Remark : To explicitly write the literal strings \\[ and \\], in our forum, you need to write them as \\\[ and \\\] Note also that, unfortunately, the Preview panel does not show the right layout :-(( Things are OK when you click on the Submit button, only ! BR guy038 P.S. : To write the text, of the Remark line, just above, I needed to write : First, 2 consecutive \ before each square bracket ! Second, 3 consecutive \ before each square bracket !
  • How do I install the emmet plugin in the portable version of notepad ++?

    4
    0 Votes
    4 Posts
    770 Views
    andrecool-68A
    @Бойправ https://community.notepad-plus-plus.org/topic/17366/how-to-install-emmet-plugin/
  • How to set tab size for user defined language?

    bibtex udl tabsize
    3
    0 Votes
    3 Posts
    2k Views
    PeterJonesP
    @Mario-Valle , As far as I know, there isn’t a native way in Notepad++ to change the tab setting on a per-UDL basis. That would be nice, and in theory, you could put in a feature request. Unfortunately, the UDL system doesn’t often get bug fixes, let alone feature requests. However, there may be a workaround; the underlying Scintilla library has a SCI_SETTABWIDTH message, which you can access through a variety of means, including the PythonScript plugin (editor.setTabWidth(2) will change it to two spaces per tab). With some logic, you could write a PythonScript that determines whether the active editor is editing a BiBTeX-UDL-based file, and if so, run that PythonScript setting. If you have PythonScript, or are willing to install it, someone here should be able to give you pointers on how to implement that logic. <edit> You might also need to change SCI_SETTABINDENTS, depending on your Settings > Preferences > Language > Tab Settings > [Default] settings </edit>
  • Is there a way to view in split screen the final outcome of my code?

    2
    0 Votes
    2 Posts
    531 Views
    PeterJonesP
    @Joshua-Barbour , Notepad++ is a text editor. It is often used to edit underlying code, but you have to rely on something else (another application, or at least a plugin) to do something with that code. You don’t mention what kind of code it is. Is it something like a batch file or Python program which runs using an interpreter? Is it code like c/c++ that needs to be compiled? Is it HTML, which needs to be rendered using a browser? All of those would have a possible answer which might or might not make you happy, but since you give no clue as to which it is, your question is virtually impossible to answer.
  • XML FILE- FIND and REPLACE

    2
    0 Votes
    2 Posts
    334 Views
    Hüseyin Can CömertH
    I have managed to do it. :) Thanks anyway.
  • Question about Word wrap spec with tab indented line

    5
    0 Votes
    5 Posts
    794 Views
    S
    @litos81 said in Question about Word wrap spec with tab indented line: ExtSettings Thank you very much the information. I solved it. Regards,
  • Run tab question

    2
    0 Votes
    2 Posts
    320 Views
    Alan KilbornA
    @Sara-Uyehara You don’t. You use the View menu choices: [image: WZreYn0.png] If you have a more-specialized need (e.g., different browser?), post again.
  • Transpose multiple lines Horizontally in rows

    9
    0 Votes
    9 Posts
    2k Views
    Terry RT
    @Akruti-Clinic said in Transpose multiple lines Horizontally in rows: No data changed I am referring to this [image: 1604716554475-3027cd08-02f8-4d28-bf77-1c33c8fcc4a0-image.png] The order of the lines changed and some text was missing, namely Price - which showed on the first line immediately behind chinttt. I am thinking that English is not your primary language as the last sentence you wrote i thinks its going more comple will find another, I do not understand. If you are still having issues, explain the problem. As you supplied some “real data” which allowed me to fix the previous problem, maybe you can show further examples where the process did not work and maybe it is still possible to update the solution to accommodate any other need. Terry
  • 0 Votes
    6 Posts
    790 Views
    Alan KilbornA
    @Alan-Kilborn said in Let result lines for text search pattern appear only once even if there are more occurrences?: change Find what to `foobar(?-s).* Bit of an error here, in formatting; THIS: Now, the workaround: change Find what to `foobar(?-s).* change _Search Mode to Regular expression SHOULD BE: Now, the workaround: change Find what to foobar(?-s).* change Search Mode to “Regular expression”
  • Extend syntax highlighting for a certain language

    10
    0 Votes
    10 Posts
    7k Views
    W
    @PeterJones said in Extend syntax highlighting for a certain language: That’s a different problem than adding tags to the list of valid tags. Of course it is - after my success with patching langs.xml in order to colour my invented tags, I wanted to go one step further. Now I know that it’s not possible. via the script EnhanceAnyLexer.py that @Ekopalypse shares Interesting, but for my purposes too complicated. So I’m going to stick with my patched langs.xml, this solves the main problem, the rest would just be “nice to have”. Thank you for your support. whitecat
  • How to change the theme for an ordinary Windows user?

    theme switch bug
    7
    2
    0 Votes
    7 Posts
    1k Views
    PeterJonesP
    @PeterJones wonders how well the double negative will translate… That’s one of those idiomatic things that each language treats differently…
  • Help me find this menu "open file in browser"

    13
    1
    1 Votes
    13 Posts
    1k Views
    PeterJonesP
    @andrecool-68 said in Help me find this menu "open file in browser": I don’t think we understand each other at all. I agree. However, I am just going to drop it, because we both apparently understand how to make it translate both the menu entry and the shortcut mapper entry, even if we don’t like or agree with the way the other of us has tried to explain it.
  • NppFTP - File attributes

    3
    0 Votes
    3 Posts
    437 Views
    andrecool-68A
    Total Commander has such an option!
  • Recent Files help wanted

    4
    4
    1 Votes
    4 Posts
    474 Views
    PeterJonesP
    @Alan-Kilborn , Sorry, @Alan-Kilborn , I cannot replicate. Unzip fresh NPP v7.9.1-64 portable run type a Save> new 1.txt New [image: 1604415790134-77ea0181-47f2-4e32-8c47-b5676aaef430-image.png] Close new 1.txt [image: 1604415802217-eb55c7e3-a141-410e-af5c-9a23726d2113-image.png] Notepad++ v7.9.1 (64-bit) Build time : Nov 2 2020 - 01:07:46 Path : C:\usr\local\apps\npp\npp.7.9.1.portable.x64\notepad++.exe Admin mode : OFF Local Conf mode : ON OS Name : Windows 10 Enterprise (64-bit) OS Version : 1903 OS Build : 18362.1139 Current ANSI codepage : 1252 Plugins : mimeTools.dll NppConverter.dll NppExport.dll
  • Replace character in capture group

    28
    0 Votes
    28 Posts
    9k Views
    guy038G
    Hello, @peterjones, Sorry, I’ve just seen your post where you asked people to verify the N++ official documentation ! I’ll try to have a look, myself, very soon. It would be better to do it before the next release of the website ! But, as I said to Alan, at the moment, my TO DO list, concerning N++ or else, is getting much longer ;-)) Cheers, guy038
  • How to merge 2 separate lines into 1 line for a numerous amount of data?

    8
    0 Votes
    8 Posts
    1k Views
    Michelle FernandesM
    @M-Andre-Z-Eckenrode said in How to merge 2 separate lines into 1 line for a numerous amount of data?: ${1}, ${2} Thank you! This worked.
  • Bug with Language ?

    7
    0 Votes
    7 Posts
    1k Views
    AndreiA
    @PeterJones thank you. I put nativeLang.xml file to %AppData%\Notepad++\ with GPO. My problem solved.
  • Crash when type the text

    4
    0 Votes
    4 Posts
    521 Views
    PeterJonesP
    @Tseng-Alvin , The reason @rinku-singh asked was because we have seen problems with the re-packaging that sites like portableapps use, causing things to not work. With Notepad++, there is no reason to risk someone else’s re-packaging, because a portable zip has been made available with every release on the official downloads page.
  • Regex Search Help!

    6
    0 Votes
    6 Posts
    792 Views
    Alan KilbornA
    @Nick-Brown 's regex is problematic for at least 2 more reasons: it does a greedy search rather than a minimal search, meaning that it will match something like "Number":"12345","23456","34567", fully, not stopping after only matching “one number”, which seems to be what the OP desires in conjunction with the first point, without specification of whether or not the . should match newlines, this regex could potentially match a lot of lines and a lot of data!
  • Hyperlinks not clickable anymore

    2
    0 Votes
    2 Posts
    682 Views
    L
    @BernieStn said in Hyperlinks not clickable anymore: Is this a known issue? I’m using Notepad++ 7.9 and it does recognise the last two lines as URLs I guess the protocol part of the URL is necessay for Notepad++ detect as a proper URL. Could you please check if you have enabled the option to make links clickable? (https://npp-user-manual.org/docs/preferences/#misc). Settings > Preferences... > MISC Also, it may help to post here Notepad++'s Debug info... that is under the ? Menu, and whether you are using any particular theme.