• 3P : Progress Programmers Pal autocomplete seems to use old dir structure

    4
    0 Votes
    4 Posts
    352 Views
    artie-finkelsteinA

    @William Patton - I’m not a user of 3P, but I do note that they do seem to keep their plugin updated to follow major changes in Notepad++. Are you sure your editor version, the installed plugin version and the plugin directory structure are of similar vintage?

  • How do I replace some text?

    13
    0 Votes
    13 Posts
    478 Views
    Scott NielsonS

    @Alan-Kilborn OK, thanks a lot! Hasta la vista.

  • Adding line breaks to fixed width table

    13
    0 Votes
    13 Posts
    2k Views
    Terry RT

    @Stinson-s-Stationers said in Adding line breaks to fixed width table:

    It didn’t even occur to me that DBF would be a standard file type i could find a specific viewer for.

    Yes, in fact it is one of the oldest file types, first created in in the early 1980s, see here. It is still possible that it doesn’t actually correspond to the acceptable format known, but certainly worth a try using one of the free viewers.

    File extensions don’t restrict developers to an acceptable format but most will do so. I just feel that using Notepad++ for a task it is not designed for (editing what is essentially a binary file) is looking for trouble. 99% of the time it will work (as this binary file is mostly just the text records with a binary header), but just once you will find your transformation will produce bad data. If you are not doing extensive data checks every transformation, it could have dire consequences.

    As you say this is company data, so you need to be certain the output is valid. Using the right tools for the job is central to achieving this.

    Terry

    PS creating a robust process means it can be easily handled by anyone who can click few buttons,so less chance in the future something could go wrong

  • Problem with style token

    7
    0 Votes
    7 Posts
    5k Views
    Markus SulkM

    @PeterJones
    Thank you so very much for your time and effort!
    Now I can make sure that npp works in the way I want it to.

  • How to Remove Everything after a Character

    2
    0 Votes
    2 Posts
    8k Views
    Alan KilbornA

    @THEAmIkO

    find: (?s)\|.*
    replace: leave empty
    search mode: regular expression

  • 0 Votes
    2 Posts
    276 Views
    TroshinDVT

    @Willie-Venter said in Add a function to split a large text file in two or more separate text files.:

    Is it possible to add a function to split a large text file in two or more separate text files by specifying line numbers where it should break?

    Можно реализовать на javascript с пом. jN плагина. Благо задание - простое.
    You can implement JavaScript using the plug-in JN. Fortunately, this task is simple.

  • Regex: Find only one line, from 2 similar lines (html tags)

    15
    0 Votes
    15 Posts
    644 Views
    astrosofistaA

    @Alan-Kilborn

    My guess is that OP used the spaces as a sort of word delimiter, but who knows.

    astrosofista is the nick I used on Twitter for an account that was indeed about space related topics. Since I used that account to register for this forum, I left the same nick.

    And although I like astronomy very much, I am not an astrophysicist. My academic studies are in philosophy. I have been teaching an introductory course in propositional logic and philosophy of science for twenty years. And now I am close to retirement - I will have more time to play with regex, scripting and the like.

  • Please reinstall NotepadStarter

    8
    0 Votes
    8 Posts
    5k Views
    ferak rahimF

    @litos81 It’s work. Thank you Dear :)
    LIKEEEEEE

  • Searching a Notepad++ version

    2
    0 Votes
    2 Posts
    204 Views
    PeterJonesP

    @Unique-ForEternity said in Searching a Notepad++ version:

    What I ask is please give me a download link of the version of school that I attend.

    No such download exists from the official distributor of Notepad++.

    You will have to ask your teacher how they configured Notepad++ at school. My guess is that they are using the NppExec plugin to run the external java compiler, and then use Customize Toolbar plugin to add that NppExec script as a button on the toolbar.

    For example, I have an NppExec script that I call “Java-CompileAndRun” with the script

    NPP_SAVE cd "$(CURRENT_DIRECTORY)" "C:\Program Files (x86)\Java\jdk1.8.0_51\bin\javac" $(FILE_NAME) "C:\Program Files (x86)\Java\jdk1.8.0_51\bin\java" -classpath "$(CURRENT_DIRECTORY)" $(NAME_PART)

    This saves the active file, then uses the Java JDK javac to compile, and the java command to run the compiled output

    But that’s just a guess as to what they did. As I said, you will have to ask your teacher how they customized Notepad++ (or explore the various configurations and menu entries in the school’s Notepad++ to figure it out for yourself).

  • Style Tokens wont highlight partial words

    4
    0 Votes
    4 Posts
    1k Views
    PeterJonesP

    @Alan-Kilborn ,

    It is really unfortunate that the term “style” is used,

    Yes, the naming of that feature was confusing, and is now even more so. Aside from “Mark” vs “Mark”, as you’ve already pointed out: In the Search menu, it’s called Mark All (and now also the new Mark One). In the context menu, it used to be Style token / Remove Style and now Style all occurrences of token / Style one token / Remove style. So the Search menu and Context menu use different names. (But it was confirming this that finally explained to me why so many thought of it as “Style Token” – because that’s what the context menu called it.)

    I have started the process of adding “Style Token” to the description of the Mark All settings in the online user manual – hopefully, it will be included in the next release

  • Makro oder Programm für wiederkehrende Änderung.

    8
    0 Votes
    8 Posts
    2k Views
    Steve HaedeS

    @Alan-Kilborn said in Makro oder Programm für wiederkehrende Änderung.:

    @PeterJones said in Makro oder Programm für wiederkehrende Änderung.:

    Please use English as the primary language in this forum.

    I guess this was ignored. :-(
    It’s easy enough for the reader to “Translate to English”, but I still think the onus is on the poster to post in English.
    I for one won’t be doing any translating on the reading end in order to answer non-English posts.

    Hello Alan, es gibt bestimmt mehr Menschen die Chinesischs sprechen und schreiben.
    Also sollte man alles ins Chinesiche Übersetzen, aber Achtung, dann könnt ihr gleich den Block schließen, weil ihr(du) tausende ausgrenzt.
    Der Link aus meinen Notepad++ geht hier in.
    Probleme sind das!!!

  • Cannot disable tab to space

    5
    0 Votes
    5 Posts
    2k Views
    Markus HirschM

    Dam it, it was too simple. Thanks!
    Works now.

  • Determining supporting library versions

    4
    2 Votes
    4 Posts
    277 Views
    artie-finkelsteinA

    @PeterJones
    Thank you for the pointer to the historical Changes page, that was a nice place to go spelunking. For the present and near future I will resort to manifest constants to flag the current versions, so I can refer to the proper historical documentation pages (packages actually) and avoid the temptation to use a new Scintilla feature not yet supported in Npp.

  • 0 Votes
    4 Posts
    284 Views
    mere-humanM

    Try rebooting your PC. It may help.
    You can also see additional info about the same problem here:
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9760

  • Make files lists and open files from these lists

    4
    0 Votes
    4 Posts
    3k Views
    mere-humanM

    Also, if you just need to open a list of files, try passing the list through the command line. Example:
    "C:\Program Files (x86)\Notepad++\notepad++.exe" "S:\file1.txt" "S:\file2.txt" etc

  • Change.log Tab

    5
    0 Votes
    5 Posts
    1k Views
    PeterJonesP

    @IAmYouthoober ,

    The original poster was only ever logged in once (according to the forum’s @Abhishek-Mehta user profile), so probably never saw my response, let alone your question a year later.

    What problem are you really having? Could you describe what you did, the behavior you expected, and the behavior you actually got?

  • Python plugin not working correctly

    5
    0 Votes
    5 Posts
    437 Views
    DaveyDD

    @Ekopalypse - thanks again
    I think you are correct. I was confusing the current ‘position’ with the number of characters in the selection.
    That, together with a funny bug in my code, was making me think there was a problem.

    Thanks,
    David

  • Set correctly the User defined languages

    3
    0 Votes
    3 Posts
    196 Views
    PeterJonesP

    @Luca-RussoFiorillo ,

    I’m glad you figured it out.

    For other people who read this discussion looking for the same answer: in the Keywords and Folding In xxx settings, if you put the multi-word term in quotes (like "end if"), it will treat it as one term.

    The UDL dialog actually links to the ivan-radic UDL 2.1 documentation, which include "else if" in the Folding In Code > Example 3

  • Macro about replacements from two Files in third File

    4
    0 Votes
    4 Posts
    226 Views
    EkopalypseE

    @Alan-Kilborn

    Yes, I personally would argue as I have, but who knows, maybe some developer will find this intriguing.

  • Location Navigate Plugin install hangs

    2
    0 Votes
    2 Posts
    168 Views
    EkopalypseE

    @haya-waks

    without more information about which Npp version you used and how you tried to install the plugin, it’s hard to tell what your problem might be.