• Styles - why not stay on save?

    2
    0 Votes
    2 Posts
    296 Views
    EkopalypseE

    @crypto_go_

    Npp is not a replacement for tools like Wordpad, MS Word, or Libre Office Writer because,
    as you noted, it does not store styling information about the text.
    Npp treats the content as plain text and uses Scintilla,
    the underlying control, and its lexical analysis to color certain parts.

  • Regex - Search for Name of Current File

    2
    0 Votes
    2 Posts
    292 Views
    PeterJonesP

    @Sylvester-Bullitt ,

    Sorry, the regex engine knows nothing about the “file metadata”, which includes its name.

    However, if you use a scripting plugin like PythonScript, you can make a script that does know the file’s name, and has access to a regex engine so that it can search for the file’s name in the active file (or in any other file, for that matter).

  • Style configurator

    2
    0 Votes
    2 Posts
    656 Views
    PeterJonesP

    @MC-Ivan ,

    it’s nothing inherent to v8.4.2.

    Which theme have you lost? Have you looked in %AppData%\Notepad++\themes (which is the default location; see also Cloud and -settingsDir if one of those options is used). Have you looked in c:\program files\Notepad++\themes or wherever you installed Notepad++? (Note that if you had shared ?-menu’s Debug Info, I would have been able to narrow them down to precise paths, because all those options would have been shown to us)

    If it’s one of the standard themes, you could try re-installing Notepad++ , or grabbing the portable zip and extracting the right theme config file and placing it in the appropriate Themes folder for your installed Notepad++

  • Bad contrast theme bugs and installer bug

    6
    0 Votes
    6 Posts
    551 Views
    Alan KilbornA

    @Lycan-Thrope said in Bad contrast theme bugs and installer bug:

    you forgot to submit your Debug information

    Well…it doesn’t actually help too much in this case because the complaint is about N++ behavior that has existed back to the beginning of time (defined as: as long as I can remember – I suppose that makes it a personal beginning of time). So, it’s not like knowing what version the OP has is important. But yes, technically to be correct, all submitted issues should have Debug Info included.

  • Cobol Copy Book

    3
    0 Votes
    3 Posts
    1k Views
    Terry RT

    @John-Knox said in Cobol Copy Book:

    I have a Cobol copy book which I would like to use to view data in a file.

    I did a bit of searching on the web and it suggests COBOL data files are likely to be in encoded format, so binary in nature. Descriptions such as “packed-decimal, Binary Coded Decimal (BCD) or “some type of binary” given that Standard COBOL has binary fields limited by decimal values (to the size of the PICture clause).” or “from AS400, COBOL data file using EBCDIC format”.

    If so then Notepad++ is definitely NOT the right application. Notepad++ is a text editor and does not understand binary or otherwise encoded files. Whilst it can allow you to view them, the underlying structure is unknown to Notepad++ so text which may appear visually together can possibly be separated by the data structures involved.

    However if the data is indeed text (so assumption it is of fixed width) then there is a plugin called “Fixed Width Data Visualizer” which can be used to visualise data structures. However there is no mention specifically of cobol copy book files, so if you were to try it you would need to experiment and possibly manually add in the data structure from the copy book yourself. That means you would need to be accurate in the structure as copied into the plugin (of course).

    The plugin (for 64bit Notepad++) is here

    Good luck
    Terry

    EDIT: if you did open the COBOL data file does it seem like there is a structure to it and does it seem as though it has fixed width sections?

    EDIT2: Try this link, several apps on Sourceforge which are likely to have a better chance than Notepad++

  • Duplicate value in cvs column

    9
    0 Votes
    9 Posts
    3k Views
    Ramkrishnan RR

    @Terry-R
    I wil try with first option first and see now it goes for the record set of 35k.
    Thank you for your response @Terry-R

  • 1 Votes
    32 Posts
    7k Views
    Terry RT

    @jim-hughes said in Notepad++ has a Reload false alarm / bug? “This file has been modified by another program. Do you want to reload it”? even when it hadn’t been recently modified at all?!:

    I’m getting this “file has been modified” warning constantly

    This page of the online manual might help.

    As you would have read, it tends to be an issue with cloud based storage, is that what you are using?

    Terry

  • 0 Votes
    2 Posts
    166 Views
    PeterJonesP

    @Andreas-V ,

    Automatic filetype detection works for me.

    My first guess is that you have a file greater than 200MB, because there is a set of options (added in v8.4.7) called Settings > Preferences > Performance which allows you to turn off certain higher-CPU-cost features of Notepad++ for large files, and syntax highlighting is turned off by default for files >200MB.

  • 1 Votes
    5 Posts
    2k Views
    Lycan ThropeL

    @eglacias ,
    As it’s now owned by Microsoft in part or whole, that’s a distinct possiblity.
    I’m not enamored of laughingly called social media either, but that is NPP’s option. I got a Google account with my ‘smart phone’, that I really didn’t use a lot until recently, NPP forums being one of them, and would not ever use any of the other mentioned social media sites. I have a Github account now, only because of NPP, so I guess I have two options, but I’m not fully entrenched in Github at this point either. It’s just to accomplish a few things and learn about it, but again, because of NPP. So, use what doesn’t make you cringe, but those are your options as far as these forums are concerned.
    I suspect, that because it’s too easy for people to make unaccountable multiple email addresses that they chose to use that medium for registration. There are several malcontent users that do nothing but try to disrupt forums and it makes it easier to find and block them… like in Hackers as a connection to Dade was found and closed “Thank you for playing”. :)

  • File Status Auto-Detection, redux

    4
    0 Votes
    4 Posts
    435 Views
    Lycan ThropeL

    @Jay-Libove ,
    In addition to what @Alan-Kilborn has mentioned, some of my own tests with Notepad++ setup with Google Drive as a cloud install, showed a drastic difference in updating file contents and the times that it gets transferred.

    What I discovered, is that the local drive Google Drive is what had to be updated, not the network version of it, as until there was a connect between the desktop and the network Google Drive, no real updating occurred. Even with the connect being constant. My guess is that the desktop version didn’t make an update

    Whether OneDrive and Google Drive operate the same way, eveyone that I know that has tried a ‘live’ use of One Drive in the dBASE networking scheme has abandoned it, as it’s not really real time. Updates are sporadic and network connections get dropped and mess things up. Using a “storage” network drive as a real time data server seems to be purposefully unreliable. Just food for thought, in addition that I would never trust my data being stored on anything I don’t have direct physical control of.

    Had I not had to test out the cloud option of Notepad++, for those of our users that do use it, so I could test how to write an installer that copies files for our UDL to the cloud location of NPP, I would never have even tried this kind of use. I don’t trust my data to anyone else. At best, I use my Google Drive as a free FTP location to download the UDL installer from. :)

  • Displaying an image as the background of a webpage

    5
    0 Votes
    5 Posts
    6k Views
    PeterJonesP

    @Ku-Qiu said in Displaying an image as the background of a webpage:

    I am wondering whether ‘document list’ is the wrong thing to do.

    Yes, it is the wrong feature. Document List shows all the documents that are open in Notepad++. You don’t (normally) open image files in a text editor (because they aren’t text).

    But if you want the warm fuzzies of seeing a directory listing in Notepad++ that shows Icon.jpg so you can be more confident that it’s there, you could use the File > Open Folder As Workspace… (“FaW”) on the current directory, and that will give you a directory listing. Or you could View > Project Panels > Project Panel #, and create a new project in the workspace , then add that folder to the project. (But really, I think FaW is your best bet.)

    N++ User Manual: Folder as Workspace N++ User Manual: Project Panels

    that NPP can display this image as the background without going to find this image with a specific path.

    Notepad++ is a text editor. It doesn’t natively display images, and it does not natively render HTML for you. If you want to render HTML inside Notepad++, you can use the PreviewHTML plugin (available through Plugins > Plugins Admin). Or you could just use View > View Current File In > … and pick your favorite browser, which would then launch that browser with the saved version of the HTML page you are actively browsing.

    ----

    Ahh, your reply post shows that it appears that you are using PreviewHTML . You should have listed that among your assets.

    But still I am not sure whether document list is the best way for my intention

    Nope. (See above)

    I used to use Matlab.

    Using matrix math application for editing webpages? I’m confused.

    And they have a navigation pane on the left where you can put all the files you need in the ‘current folder’ so that only files in that folder can be used/run.

    Ah, maybe you were just talking about the UI concepts.

    No, you cannot limit what files your webpage will see based on what’s in some list in Notepad++. The webpage (and the HTML renderer in whatever plugin you are using) are Notepad++ agnostic: they don’t know, and don’t care, about anything that Notepad++ is doing (and it especially wouldn’t once you used a real browser to view the page, and/or published it to a webserver).

    But if you want to be able to see non-text filenames in a panel on the left, so that you can remember image filenames more easily, use the Folder As Workspace feature, not Document List.

  • Missing back and next buttons

    16
    1 Votes
    16 Posts
    759 Views
    Michael VincentM

    @Alan-Kilborn said in Missing back and next buttons:

    Maybe I was encouraging you to finish it up? :-)

    I wrote it in 2020 during the pandemic. I haven’t really touched it since. I’m pretty sure I’m done with it - whether it is actually done or not. :-)

    Cheers.

  • Few problems with User Defined Languages

    2
    0 Votes
    2 Posts
    610 Views
    PeterJonesP

    @Karlo-F,

    I change it like this: “Language -> Define your language…”, under “User language” I select “User Defined Language”
    Works fine until I restart N++. After restart there’s white text on black background again.

    I can’t find if there’s a way to save the changes.

    When creating a new UDL, you should always start with a “Save As” to give it a name that describes the filetype. If you don’t do that, Notepad++ will not save any settings you change. The “User Defined Language” in that listbox is not meant to be a permanent language, and Notepad++ doesn’t save changes made to that default UDL “name”.

    ab6bc9ab-c06d-4402-a787-873b30a67b96-image.png

    When I click on “Dock” button with localized caption, the text on the button is changed to “Undock” in English.
    There’s no “Undock” in localization .xml files.
    After clicking on the “Undock” button, the caption on the button is changed to “Dock” in English instead of localized text.

    I can confirm with v8.4.9 portable that the Dock/Undock move away from localization and use only-English once that button is used. Please read about how to create an official bug-report issue as described in our “FAQ: Feature Request and Bug Report” . Make sure when you create the issue that you don’t have the typo (you claimed v8.4.7 but your change.log in the screenshot showed v8.4.9), and that you paste a link to your issue in this conversation, so others here can follow your issue. I’d suggest naming the issue something like “UDL dock/undock button doesn’t follow localization” rather than a generic “few problems with User Defined Languages”.

  • Enter a standard text to every new file

    2
    0 Votes
    2 Posts
    192 Views
    Terry RT

    @Andi-Kok said in Enter a standard text to every new file:

    For example, i want to enter “hello world” in the beginning of every new file.

    There was an old post here that might have some relevant information to help you.

    Terry

  • Automatically showing all the properties of a tag

    3
    0 Votes
    3 Posts
    374 Views
    Lycan ThropeL

    @Alan-Kilborn ,
    Actually, HBuilder, bills itself as an HTML Integrated Development Environment (IDE), whereas Notepad++ bills itself as a source code editor and Notepad.exe replacement, IE just a text editor.

    That NPP can emulate an IDE to some extent with plugins and additional functions is the work of dedicated folks making it possible, and if the OP wishes to write an HTML IDE plugin for NPP, I’m sure it will be welcome. :)

  • How to set border in Notepad++

    3
    0 Votes
    3 Posts
    4k Views
    Ku QiuK

    @Terry-R Thank you very much for your comments! ‘Word Wrap’ seems work perfectly in this case!!

  • Using console without the 'NppExec' plugin installed

    3
    0 Votes
    3 Posts
    222 Views
    Alan KilbornA

    @Ku-Qiu

    If you want to use the NppExec console, the short answer is “you don’t”.

    If you are talking about some other “console”, you’d better explain more about what you mean.

  • How to change language?

    2
    0 Votes
    2 Posts
    165 Views
    Alan KilbornA

    @Ralph-Hulslander

    Isn’t this more of a computer usage question than a Notepad++ specific one?

  • Font settings on the bar

    3
    0 Votes
    3 Posts
    264 Views
    PeterJonesP

    @jack-benimble ,

    Because Notepad++ is a text editor, not a word processor, and font information isn’t embedded in text files. And as such, having a “change the font” would encourage people to try to use it to set the font of individual words, and mistakenly believe that they can somehow embed the font information in the text file.

  • Broken Dialog boxes

    6
    0 Votes
    6 Posts
    304 Views
    K XXK

    @Alan-Kilborn said in Broken Dialog boxes:

    e you noticed this same thing in 8.4.8

    yes, I believe that was the version i was on before the downgrade, I have uninstalled and reinstalled 8.4.9 and it is working.