• 0 Votes
    3 Posts
    2k Views
    V FrenkelV

    I second that request.
    Always confuses me.

  • RTL Interface: Change some elements to LTR

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    YaronY

    Hello Claudia,

    Thanks again. I highly appreciate your time and goodwill.

    But from what I understand, creating a window with WS_EX_LAYOUTRTL should be prefered and npp
    uses it already for a couple of windows.

    Indeed.
    This is how NPP changes the editor text direction:

    void ScintillaEditView::changeTextDirection(bool isRTL) { long exStyle = ::GetWindowLongPtr(_hSelf, GWL_EXSTYLE); exStyle = isRTL ? exStyle | WS_EX_LAYOUTRTL : exStyle&(~WS_EX_LAYOUTRTL); ::SetWindowLongPtr(_hSelf, GWL_EXSTYLE, exStyle); }

    I have managed to flip the Status Bar entire layout with WS_EX_LAYOUTRTL etc.; changing only parts of an element seems to be more tricky.

    Best regards.

  • switching off annoying debug messages

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Zs LZ

    OK, thanks. It seems the culprit is the HEX-Editor plugin.

  • How to point a file in a batchfile with a space in the filename

    8
    0 Votes
    8 Posts
    5k Views
    Claudia FrankC

    Hi Harm,

    I may be wrong but I don’t think it is the quote, well, it isn’t the cause of the problem.
    From cmd shell point of view all three commands should work but the main difference is the backslash
    after the disk letter.
    Test 1 and 2 are the same but 3 is different in the meaning how path should be interpreted.

    From shells point of view

    p:“foto-archief harm\0 Testomgeving”

    means that there is a subdirectory foto-archief harm which again has a subdirectory 0 Testomgeving on drive p: relative
    to the current directory.

    Let’s assume that I want to get a list of all txt files in the python\npp directory which is a subdirectory of d:\scripts.
    I could easily do this by executing of of the following dir commands

    D:\scripts>dir /B python\npp\*.txt dummy.txt D:\scripts>dir /B "python\npp\*.txt" dummy.txt D:\scripts>dir /B "d:python\npp\*.txt" dummy.txt D:\scripts>dir /B d:"python\npp\*.txt" dummy.txt

    but what I can’t do is using this form

    D:\scripts>dir /B d:\"python\npp\*.txt" The system cannot find the path specified. D:\scripts>dir /B "d:\python\npp\*.txt" The system cannot find the path specified.

    Because the latter are absolute paths. A absolute path begins either

    with two backslashes (UNC) with a disk letter, colon AND a backslash with a backslash.

    Your notation p:foto-archief harm is relative. So if your current directory is p:\dir1\dir2
    and there is a subdirectory foto-archief harm a dir p:foto-archief harm\ would do a listing in p:\dir1\dir2\foto-archief harm.
    So if you do a fourth test

    Robocopy p:\"foto-archief harm\0 Testomgeving" D:\backup\test /MIR /LOG+:H:\Dos_map\TESTLogfile.txt

    you will see it works as well.

    Cheers
    Claudia

  • How do i dictate the size of a program automatically?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How do i change the size of the program i made

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Running C program using gcc

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Claudia FrankC

    Hello @Kaushal-Dokania,

    can gcc be found in path? If not you have to set the directory.
    Is the output a console application? If so, you need to call cmd shell together with compiled exe.

    For such thing I would recommend to install nppExec plugin which could do this in one run
    and if I remember correctly there even was an example how to do it with gcc.

    Cheers
    Claudia

  • How to edit php file

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    dailD

    it claimed to be a WYSIWYG editor which could edit PHP files

    This definitely is not the case unless you saw this from some sort of plugin for it (but I don’t know any that does this type of thing). To run PHP you need a PHP server to execute it and spit out the HTML.

  • Exam questions?

    4
    0 Votes
    4 Posts
    3k Views
    Ernest AricoE

    @Claudia-Frank

    I am teaching a course on teaching students how to create Web pages and sites using Notepad++. We need to have a final exam/project at the completion of the course.

  • Where are the Scintilla shortcuts saved?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @Xen-Xennon,

    Unless you modify shortcuts, there are hardcoded.
    Once modifed, you will see it in shortcuts.xml

    The issue, you discovered, has been already addressed here.
    SCI_LINEENDEXTEND doesn’t exist anymore #1612

    In regards to their meaning, be referred to the scintilla documentation here.

    Cheers
    Claudia

  • Emmet problem

    3
    0 Votes
    3 Posts
    3k Views
    Ian PeersI

    Bless you Claudia - you’ve made an old man very happy.

  • 0 Votes
    3 Posts
    2k Views
    Claudia FrankC

    Hello @John-Grinder,

    I assume the new laptop has a new operating system as well, hasn’t it?
    And I assume you are running npp as an administrator -> can be checked by using menu ? and click on debug-info.
    Might look similar to this

    Notepad++ v6.9 Build time : Feb 21 2016 - 21:27:55 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll PythonScript.dll

    If admin mode is ON then you run npp as administrator. In such a case, you might get problems with UAC and elevation.
    If you give it a try and run npp as non-admin you should get access to the virtual drive again.

    Cheers
    Claudia

  • git branch/tag in the header

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @Croqueur-Fou,

    HEAD points to the active working “branch”. Can’t this be used?
    I’m using tortoisegit, not git, and I don’t know what you exactly try to achieve.

    Cheers
    Claudia

  • How do I go from A<CR><<LF>B<CR><LF> to 'A','B' ?

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    Jim BiwerJ

    In Ultra Edit, I would search for ^p and replace with ‘,’

    Thanks again. Solved.

  • How do I disable the 'Delimiter' function in Notepad++?

    10
    0 Votes
    10 Posts
    13k Views
    Sean de LeeuwS

    Hi,

    That worked like a charm, thank you very much!

  • Styling Questions.

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    Fields BarleyF

    Claudia, that was just perfect. Now I’m able to do it.

  • N++ doesn't remember the settings on user's account

    8
    0 Votes
    8 Posts
    5k Views
    Claudia FrankC

    Local in regars to the npp installation does mean configuration data, plugins and notepad.exe in one directory.
    So has nothing to do with your non-admin profile.

    I’ve asked the question because I wasn’t sure if your problem is solved or not.

    Cheers
    Claudia

  • Problem installing on Windows 10

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    Hello @S-B,

    if it can’t write the file then it might be that you either haven’t the proper permissions to write to this directory
    or that another app has this file locked exclusively. If it isn’t the first, the second could be solved by a reboot
    if you don’t know which application might have locked the file.

    Cheers
    Claudia

  • Notepad++ Compatibility on Windows server 2008R2 & WS2012 R2

    6
    0 Votes
    6 Posts
    14k Views
    Claudia FrankC

    Hello @pranami-desai,

    it is nearly impossible to answer this question as we don’t know what the users or adminsitrators did.
    It might be related to plugins, quotas, concurrent access etc…
    Espescially in terminal service environments you should have enough additional informations
    to see what has caused the issue.

    Cheers
    Claudia

  • Sorting Folded Lines (Blocks?)

    5
    0 Votes
    5 Posts
    5k Views
    guy038G

    Hi Justin,

    Firstly, I downloaded the entire contents of your .yaml file ( 5175 lines )

    Secondly, I isolated the Presets section ( 4925 lines )

    Thirdly, I understood that your special characters belongs :

    At the Miscellaneous symbols Unicode script, in the range [\x{2600}-\x{26FF}] ( See http://www.unicode.org/charts/PDF/U2600.pdf )

    At the Dingbats Unicode script, in the range [\x{2700}-\x{27BF}] ( See http://www.unicode.org/charts/PDF/U2700.pdf )

    Fourthly, I only, extracted the lines which contain one of these special Unicode characters. I got a list of 51 items, below :

    - - '✥ --- dscan: ships' - - '★ friendly: logistic' - - '♞ hostile: carriers' - - '★ friendly: dreads' - - '♞ hostile: battlecruisers' - - '♞ hostile: antibombers (!)' - - '♣ pve: salvage/loot' - - '★ friendly: capitals' - - '♞ hostile: fighters/fibos' - - '♞ hostile: dictors' - - ❏ hostile brackets - - '★ friendly: fleet' - - '♞ wartargets only' - - '★ friendly: sc/t' - - '♞ --- normal pvp' - - '✥ dscan: pos all mods' - - '♞ hostile: cruisers' - - '♣ pve: mining' - - '♞ hostile: logistics' - - ❏ no brackets - - ❏ skirmish brackets - - '✪ extra: podsaver (!)' - - '♞ hostile: cmd dest' - - '★ friendly: recons' - - '♞ hostile: drones' - - '✈ travel: show all' - - '♞ hostile: dreads' - - '♞ hostile: titans' - - '♞ structures' - - '♞ hostile: frig/dest' - - '♞ hostile: supers/titans' - - '♞ deployables' - - '♞ hostile: recons' - - '✈ travel: hide stations' - - '♣ pve: anoms/ratting' - - '♞ hostile: supercarriers' - - '♞ bombing warpouts' - - '♣ pve: show drones' - - '★ friendly: dictors' - - '★ --- friendly: all' - - '✈ --- basic travel' - - '♞ hostile: caps' - - ♣ --- basic pve - - ❏ default brackets - - '♞ npsi' - - '♞ hostile: cs/t3' - - '♞ hostile: battleships' - - '✥ dscan: pos' - - '♞ - ships only' - - '★ friendly: carriers' - - '✪ extra: align points'

    Finally, I performed a classical sort ( Menu Edit - Line Operations - Sort Lines Lexicographically Ascending ) and I got the list below :

    - - '★ --- friendly: all' - - '★ friendly: fleet' - - '★ friendly: capitals' - - '★ friendly: carriers' - - '★ friendly: dictors' - - '★ friendly: dreads' - - '★ friendly: logistic' - - '★ friendly: recons' - - '★ friendly: sc/t' - - '♞ --- normal pvp' - - '♞ - ships only' - - '♞ bombing warpouts' - - '♞ deployables' - - '♞ npsi' - - '♞ structures' - - '♞ wartargets only' - - '♞ hostile: antibombers (!)' - - '♞ hostile: battlecruisers' - - '♞ hostile: battleships' - - '♞ hostile: caps' - - '♞ hostile: carriers' - - '♞ hostile: cmd dest' - - '♞ hostile: cruisers' - - '♞ hostile: cs/t3' - - '♞ hostile: dictors' - - '♞ hostile: dreads' - - '♞ hostile: drones' - - '♞ hostile: fighters/fibos' - - '♞ hostile: frig/dest' - - '♞ hostile: logistics' - - '♞ hostile: recons' - - '♞ hostile: supercarriers' - - '♞ hostile: supers/titans' - - '♞ hostile: titans' - - '♣ pve: anoms/ratting' - - '♣ pve: mining' - - '♣ pve: salvage/loot' - - '♣ pve: show drones' - - '✈ --- basic travel' - - '✈ travel: hide stations' - - '✈ travel: show all' - - '✥ --- dscan: ships' - - '✥ dscan: pos all mods' - - '✥ dscan: pos' - - '✪ extra: align points' - - '✪ extra: podsaver (!)' - - ♣ --- basic pve - - ❏ default brackets - - ❏ hostile brackets - - ❏ no brackets - - ❏ skirmish brackets

    Notes :

    You’ll notice that most of these “header” lines begin with the string - - '

    Only five lines, which have a special character, instead of the single quote, are, of course, moved at the end of the sorted list.

    And, generally speaking, all these special Unicode characters are sorted, according to their Unicode number ( 2605 for the Black Star, 265E for the Black Chess Knight, and so on… )

    So, If you agree, with that specific sort ( May be, at the end, you’ll have to move one or few blocks to an other place ! ) I’ll give you, next time, the complete method to get the sorted list of these “header” lines with ( the most important ! ) all their contents unchanged :-))

    Cheers

    guy038