• FTP Plugin - not allow to upload whole folder with some fiels

    Locked
    1
    0 Votes
    1 Posts
    957 Views
    No one has replied
  • How can I stop one view from moving the other when adding lines?

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Paul-LinNYP

    I have the Synchronize Vertical Scrolling OFF/disabled when I see the problem behavior.

    When I turn Synchronize Vertical Scrolling ON it gets weird.

    If both views are at line 1 with my focus in the left view, and I then set Synchronize ON, then move the focus to the right view and scroll down to the end (2003) the left view follows along.

    If I then move the focus back to the left view the cursor disappears and both views stay at the end. If I then press the down arrow once both views snap to line 2 and the cursor appears at line 2!

    If I then move the focus back to the right view the cursor again disappears and both views stay at the top. If I then press the down arrow once both views snap to the bottom of the file and the cursor appears back at line 2003!

    With sychronize ON each view seems to have its own memory of where you left it and it goes there when you move the focus dragging the other view along with it.

    With synch OFF, the left view at line 100, the focus in the right view I can scroll the right view independently of the left. If I add a line in the right view at line 20 (above the position of the left view) the left view doesn’t move. If I add a line in the right view at line 120, (below the top of the left view), the line opens up in the left view. If I add a line in the right view at line 160, (below the bottom of the left view screen), the left view doesn’t move. But, if I move further down in the file in the right view and add a line at say 1800, the left view will snap down to show the added line.

    The behavior is hightly inconsistent. Hmmmmmmmmm.

  • Need help withTranspose column to row

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    guy038G

    Hello, @ángela-rojas,

    Not very difficult with a regular expression, indeed !

    Assuming that :

    The word Wavelength, with that exact case, begins a line and is followed by, at least, one space character

    The different numbers, beginning the following lines, are followed by a single space character

    Just follow the few steps, below :

    Move back to the very beginning of your file ( Ctrl + Origin )

    Open the Replace dialog ( Ctrl + H )

    Type (?-i)^Wavelength +|\R\d+ , in the Find what: box

    Leave the Replace with: box EMPTY

    Click on the Replace All button

    Et voilà !

    Notes :

    The regex search looks, either, for :

    The string Wavelength, with that exact case, followed by, at least, one space character ( + )

    Some End of Line characters (\R ), immediately followed by, at least, one digit ( \d+ )

    Whatever the case found, the overall match is deleted, due to the empty replacement regex

    Best Regards

    guy038

    P.S. :

    In case the numbers, beginning the line, are followed by several space characters, prefer the regex S/R, below :

    SEARCH (?-i)^Wavelength +|\R(\d+) +

    REPLACE ?1\x20

    If the search must not be sensitive to case, just change the (?-i) part by the (?i) syntax
  • Replacing words with my own abbreviations in a list of fixtures

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    Gary BarnesG

    Thank you so much!

  • Entirely new to notepad++....and some questions!

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    Claudia FrankC

    @hatchcanyon

    I have an xAMMP - can I use this as a server and how to communice between Notepad++, XAMMP and firefox?

    Yes, you can use whatever webserver you want, it just matters how you call the browser.
    You either can use the Run from the run menu with something like

    INSTALLATION_PATH\YOUR_BROWSER.exe http://localhost…/$(FILE_NAME)

    where $(FILE_NAME) gets automatically replaced by the filename of the current opened document
    or
    you edit Shortcuts.xml, which is the file holds, amongst others, the configuration how
    Launch in… gets called. Use again http://localhost…/$(FILE_NAME) as the parameter to
    the browser
    or
    you can use npp_exec plugin which offers additional features like you want to start the webserver in advance etc…

    Cheers
    Claudia

  • Save as on toolbar

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    YaronY

    You’re welcome.
    I’m glad it works for you.

  • How to adjust/correct the text font?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Claudia FrankC

    @Michael-Moser

    it is Settings->Style Configurator what you are looking for.

    Concerning the font issue - could it be that you are running windows 10?
    If so, it is not the first time that I read that an update created an font issue.

    Cheers
    Claudia

  • Pythonscript show console on error

    38
    0 Votes
    38 Posts
    26k Views
    Alan KilbornA

    @Claudia-Frank

    Just to clarify the “hang” is a really hard hang where I have to kill N++ and restart it, not just a long delay…

  • Start Notepad++ in post-it mode

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Need help with xml document

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    cipher-1024C

    Dude. The answers that the other people on this board can give can be phenomenal if you give them a clear idea of what you’re trying to do and what you have to work with. Posting a picture of XML instead of actual XML is almost mean. /chastisement. :)

    It seems like you just want the contents of the body tag and you don’t need it to be in XML format. If that’s the case you can load the “XML Tools” plugin and do an “Evaluate XPath expression”. For instance if my XML looks like this:
    <table>
    <sms protocol=“0” date=“12.12.121.1” type=“1” subject=“null” body=“this is some stuff” ></sms>
    <sms protocol=“1” date=“12.12.121.2” type=“1” subject=“null” body=“this is some stuff” ></sms>
    <sms protocol=“2” date=“12.12.121.3” type=“1” subject=“null” body=“this is some stuff” ></sms>
    <sms protocol=“3” date=“12.12.121.4” type=“1” subject=“null” body=“this is some stuff” ></sms>
    </table>

    I can put in /table/sms/@body and click the evaluate button in the XPath Expression Evaluation window and it will give me all the body attribute contents and I can copy them to the clipboard.

    If that’s not what you’re looking for, you may have to give a little more detail and maybe a bigger chunk of your XML.

  • I want to contribute and chose right project for graduate thesis

    Locked
    1
    0 Votes
    1 Posts
    812 Views
    No one has replied
  • File always open in ANSI instead of UTF-8

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    gstaviG

    Save files as UTF-8 with BOM.
    BOM forces Notepad++ to identify file as UTF-8.
    Make sure that whatever software is consuming these files knows to skip the BOM. Most modern software knows to do it for many years but some systems that retain ancient legacy software pieces may not.
    Without BOM Notepad++ needs to guess the encoding and sometimes it guesses wrong.
    This forum has multiple discussions about this issue and the desire to be able to override this guessing with some default.

    Since ANSI is a subset of UTF-8, in the absence of any special symbol within the file a UTF-8 is also an ANSI file and Notepad++ defaults to ANSI over UTF-8.

  • Multiple Instances and opening files via File Explorer

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Sascheya Dragon ShikamaruS

    The files will always be open on the last instance of Npp.
    I dont know why you would need multiple Npp instances , for me I usualy just go to “View” -> “Move/Clone curent document” and depending on the situation pick one of the options there.
    I hope this was helpful…
    Have a good day .

  • Windows 1252 is really that?

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Why doesn't a tab close return you to tab most recently worked in?

    Locked
    5
    0 Votes
    5 Posts
    2k Views
    gstaviG

    @Alan-Kilborn

    I guess that this patch would not have much objection.
    Since I have multiple patches that some of them will encounter objection I didn’t try to submit anything to mainline.

    Not sure exactly what are your expectation from the scenario you described and what will be the results but my guess is that when a document is moved to another view the source view should choose another document and that will probably happen using the same code I patched so this decision will be based on MRU ordering rather than tab ordering.

  • Replace CR/LF between two delimiter ~ across multiple lines

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @Pat-Chown

    Well, it is pretty difficult from your description to tell exactly what you want to do, but a Find-what box value (for a regex search) that will match into group #1 the multi-line data delimited by the ~'s would be: \d{6}\s~(?s)(.+?)~

    Hopefully this is of some help to you. If not, feel free to describe your situation a bit more. :-)

  • Recent File History Never Shows

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Scott SumnerS

    @Ron-Payne said:

    Recent file history has not been showing…Use to always be on left.

    Perhaps you mean the Doc Switcher ? It isn’t a “recent file history”, it’s a list of all currently open files and it can be wherever you put it, but maybe its default location is on the left (that’s what made me think that you might be talking about that–mine is on the left currently).

    If Doc Switcher is what you are looking for, enable it at Settings (menu) -> Preferences… -> General (box on left) -> Document List Panel (box) -> Show checkbox. I’m not at all sure why it is named differently in the Preferences than what it shows on its window (“Document List Panel” versus “Doc Switcher”)!

    recently opened files do not open/show after starting NotePad++

    I think the setting you are looking for here is in Settings (menu) -> Preferences… -> Backup (box on left) -> Remember current session for next launch checkbox.

    If this (or ANY other posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).

  • How to invoke a plugin's shortcut key when opening a file in Notepad++?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Insertion of lines in one view moves file in other view.

    Locked
    1
    0 Votes
    1 Posts
    767 Views
    No one has replied
  • in windows2003 V7.3.3 to V7.4.2 can't run

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    yhgroupY

    V7.3.3 ERROR :ScintillaEditView::init:CreateWindowEx() function return null
    V7.4.2 ERROR:ScintillaEditView::init : SCINTILLA ERROR - Can not load the dynamic library