• How can one change the order of the txt files in the doc switcher?

    3
    0 Votes
    3 Posts
    567 Views
    CletosC

    Hello guy038,

    Many thanks!

    By default, the files are sorted by view ( 2nd view first ) and by their ID number ( from 0, I presume )

    After a first click on the Name header, all files are sorted alphabetically, in ascending order

    After a second click on the Name header, all files are sorted alphabetically, in descending order

    After a third click on the Name header, all files are sorted, again, according to the default !

    And so on …

    So, I guess, the files cannot be moved manually, e.g. by dragging a single file to another position.

    Great! Thank you very much for the plugin, looks very good. I just will installed it.

  • Unable to update v.7.8.6 (64 bit) from program

    4
    1 Votes
    4 Posts
    318 Views
    Juan AmoresJ

    It is already fixed, it has allowed me to update, you can close this thread.
    Thank you very much.

  • Search in files

    8
    0 Votes
    8 Posts
    2k Views
    FranciscoF

    Now sucess, very thanks guy038 and all… Take care.

  • Is there a way to load an entire website's source code into Notepad++?

    3
    0 Votes
    3 Posts
    1k Views
    PeterJonesP

    As a follow-on, this decade-old SO answer https://stackoverflow.com/questions/4265748/search-in-html-source-with-google gives some links to search engines that are designed to look at the HTML code, not just the text; I don’t know if any of them are still around, but it’s worth a try.

  • Does Sort Lines Lexographically have a bug with diacritics?

    4
    2 Votes
    4 Posts
    387 Views
    guy038G

    Hello, @abdekker, @ekopalypse and All,

    The present N++ alphabetic sort simply rearranges the characters according to the value of their Unicode code-point. Refer to the list, below, to get all the existing code-points, from the latest Unicode version :

    http://www.unicode.org/Public/UCD/latest/ucd/NamesList.txt

    And to this article which explains the format of that list

    So, for instance, this list of characters :

    Char Code ~~~~~~~~~~~~ 0009 0020 " 0022 “ 201C ” 201D - 002D — 2014 _ 005F 0 0030 Ø 00D8 9 0039 A 0041 a 0061 Ă 0102 B 0042 b 0062 þ 00FE β 03B2 Б 0411 E 0045 e 0065 Ě 011A € 20AC ∑ 2211 ℮ 212E fi FB01 ℓ 2113 O 004F o 006F ö 00F6 Œ 0152 θ 03B8 Ѳ 0472 T 0054 t 0074 τ 03C4 ŧ 0167 ‡ 2021 Ỳ 1EF2 ‰ 2030 ∆ 2206 ∞ 221E

    is alphabetically sorted as :

    Char Code ~~~~~~~~~~~~~ 0009 0020 " 0022 - 002D 0 0030 9 0039 A 0041 B 0042 E 0045 O 004F T 0054 _ 005F a 0061 b 0062 e 0065 o 006F t 0074 Ø 00D8 ö 00F6 þ 00FE Ă 0102 Ě 011A Œ 0152 ŧ 0167 β 03B2 θ 03B8 τ 03C4 Б 0411 Ѳ 0472 Ỳ 1EF2 — 2014 “ 201C ” 201D ‡ 2021 ‰ 2030 € 20AC ℓ 2113 ℮ 212E ∆ 2206 ∑ 2211 ∞ 221E fi FB01

    You may think that is would be good to have an option to get, for instance, the Unicode collation mechanism, as below :

    http://www.unicode.org/charts/collation/

    However, countries use different sorting conventions, even for countries using the same Latin alphabet. Refer to this article :

    https://en.wikipedia.org/wiki/Alphabetical_order#Language-specific_conventions

    So, in the end, the simple task of sorting letters is quite a puzzle if you want to take into account the specificities of each language and country !

    In the meanwhile, here is a solution, involving regular expressions :

    From this initial list, containing 45 French words :

    foret Forer forêt Cote Côte côtelée côté Côtière cotée là La prairie A à près pré Premier gare Gîte giter Gorge Où ou Règne renne Aigüe aïeul Ôté ôter flûte Batir bâton Canoë Été île Reflet régner Ilote ångström Âpreté à-propos Escale étude offense Odyssée

    After running the Edit > Line Operations > Sort Lines Lexicographically Ascending option, we get :

    A Aigüe Batir Canoë Cote Côte Côtière Escale Forer Gorge Gîte Ilote La Odyssée Où Premier Reflet Règne aïeul bâton cotée côtelée côté flûte foret forêt gare giter là offense ou prairie près pré renne régner Âpreté Été Ôté à à-propos ångström étude île ôter

    Obviously, as a Frenchman, this sorting seems rather awful to sight and make the words’s search really not easy !

    Now, let’s take again, our initial list and duplicate all words, in each line, with the simple regex S/R :

    SEARCH (?-s).+

    REPLACE $0\t\t\t\t\t$0

    So, the list is changed into :

    foret foret Forer Forer forêt forêt Cote Cote Côte Côte côtelée côtelée côté côté Côtière Côtière cotée cotée là là La La prairie prairie A A à à près près pré pré Premier Premier gare gare Gîte Gîte giter giter Gorge Gorge Où Où ou ou Règne Règne renne renne Aigüe Aigüe aïeul aïeul Ôté Ôté ôter ôter flûte flûte Batir Batir bâton bâton Canoë Canoë Été Été île île Reflet Reflet régner régner Ilote Ilote ångström ångström Âpreté Âpreté à-propos à-propos Escale Escale étude étude offense offense Odyssée Odyssée

    Now, with the next regex S/R, we change, only in the first coluimn :

    Any accentuated vowel to its corresponding lowercase vowel

    Any uppercase consonant to its corresponding lowercase letter

    SEARCH (?-i)(?:([[=A=]])|([[=E=]])|([[=I=]])|([[=O=]])|([[=U=]])|([[=Y=]])|([A-Z]))(?=.*\t)

    REPLACE (?1a)(?2e)(?3i)(?4o)(?5u)(?6y)(?7\l\7)

    foret foret forer Forer foret forêt cote Cote cote Côte cotelee côtelée cote côté cotiere Côtière cotee cotée la là la La prairie prairie a A a à pres près pre pré premier Premier gare gare gite Gîte giter giter gorge Gorge ou Où ou ou regne Règne renne renne aigue Aigüe aieul aïeul ote Ôté oter ôter flute flûte batir Batir baton bâton canoe Canoë ete Été ile île reflet Reflet regner régner ilote Ilote angstrom ångström aprete Âpreté a-propos à-propos escale Escale etude étude offense offense odyssee Odyssée

    Now, after a new Edit > Line Operations > Sort Lines Lexicographically Ascending action, we get this list :

    a A a à a-propos à-propos aieul aïeul aigue Aigüe angstrom ångström aprete Âpreté batir Batir baton bâton canoe Canoë cote Cote cote Côte cote côté cotee cotée cotelee côtelée cotiere Côtière escale Escale ete Été etude étude flute flûte forer Forer foret foret foret forêt gare gare gite Gîte giter giter gorge Gorge ile île ilote Ilote la La la là odyssee Odyssée offense offense ote Ôté oter ôter ou Où ou ou prairie prairie pre pré premier Premier pres près reflet Reflet regne Règne regner régner renne renne

    Finally, here is our final expected, well sorted, list of words, with the simple regex S/R :

    SEARCH ^.+\t

    REPLACE Leave EMPTY

    A à à-propos aïeul Aigüe ångström Âpreté Batir bâton Canoë Cote Côte côté cotée côtelée Côtière Escale Été étude flûte Forer foret forêt gare Gîte giter Gorge île Ilote La là Odyssée offense Ôté ôter Où ou prairie pré Premier près Reflet Règne régner renne

    Of course, in this first approach, I did not include the accented consonants as well as the Æ, Œ, æ, œ characters but I suppose that you’ll get the general idea !

    The fine side of this method is that if the first column is identical, between several raws, the sort still acts onto the second field ;-)). For instance :

    cote Cote cote Côte cote côté

    Best Regards,

    guy038

  • Ctrl+- (Ctrl+dash) to jump back to last modified position

    5
    0 Votes
    5 Posts
    1k Views
  • setting highlighting for compare plugin

    2
    0 Votes
    2 Posts
    775 Views
    andrecool-68A

    In the plugin settings, you can only change the colors of the selections. The font color depends on the color theme of the editor itself. Go to the stylesheet and try changing to the color you want.

  • About a Run-like submenu

    6
    0 Votes
    6 Posts
    837 Views
    Jesús Hernán Cano Martínez 0J

    Yes, @Ekopalypse. With NppExec I got it. Thanks.

  • 0 Votes
    6 Posts
    492 Views
    massimo la terraM

    database no ok.JPG
    NO OK

    database ok.JPG
    OK

  • Want Save for new doc to use first line of text for filename

    4
    0 Votes
    4 Posts
    588 Views
    EkopalypseE

    @Doug-Rogers

    Okay, if you want this inside npp, you’re going to need to create a
    feature request, read up here, but make clear how it shouldn’t affect the current behaviour.
    Perhaps by adding a setting that can be enabled or disabled.

  • 0 Votes
    4 Posts
    700 Views
    EkopalypseE

    @Hassan-Iqbal said in How to make Notepad++ do some automatic cleanup before saving certain files?:

    You are implying that I can assign the macro to a keyboard shortcut?

    The macro menu contains the item Modify Shortcut/Delete Macro…, there you can assign a shortcut after you have recorded the macro.

    But how to make sure that the macro stays there every time I open Notepad++ or restart the computer?

    Because the macro is stored in a file called shortcuts.xml.

  • Theme Category

    1
    1 Votes
    1 Posts
    262 Views
    No one has replied
  • Identify ASCII or ALT-codes of characters in docs?

    2
    0 Votes
    2 Posts
    333 Views
    PeterJonesP

    @Neil-Preston ,

    Not built-in.

    I present a script in https://community.notepad-plus-plus.org/post/44448 which shows the codepoint (for both ASCII and Unicode characters).

    Use Plugins Admin to install PythonScript, then create a new script in PythonScript. Then run this script.

    You can change whether it’s on-demand (show char only when you run the script), or “live” (update every time cursor moves) by comment/uncomment the last two lines.

  • Notepad++ doesnt have "Launch"

    5
    0 Votes
    5 Posts
    288 Views
    PeterJonesP

    @Mahdy-El ,

    Um, yes, that’s what I told you. That feature you described has been replaced by the View > View Current File In > Chrome.

  • remove hyperlink

    3
    0 Votes
    3 Posts
    359 Views
    Michael VincentM

    @Jonathan-Webb said in remove hyperlink:

    Example:
    So when you are typing https://somesite.com/embed?code=… you must remember to
    you see, i do not want that to be clickable.

    Maybe you mean this?

    4539a57b-5d5f-4ad0-8ee3-e478924898fa-image.png

    Just uncheck “Enable”.

    Cheers.

  • Sometimes Notepad++ doesn't save even though it appears to.

    15
    1 Votes
    15 Posts
    10k Views
    EkopalypseE

    @nos-pam

    So if I understand this correctly, then your analysis indicates that SessionMgr plugin has caused this?

  • Can I invoke a plugin from a macro?

    14
    0 Votes
    14 Posts
    2k Views
    ggodhner 0G

    @Alan-Kilborn Perfect! Just exactly what I needed! Now I’m ready to go! Many thanks to both of you!

  • 0 Votes
    2 Posts
    571 Views
    guy038G

    Hi, @nikhil-chavan and All,

    Refer to your second post :

    https://community.notepad-plus-plus.org/post/55008

    BR

    guy038

  • Suggestion make www a clickable link

    1
    0 Votes
    1 Posts
    142 Views
    No one has replied
  • Vertical edge (line) isn't visible

    5
    1 Votes
    5 Posts
    450 Views
    Alan KilbornA

    @László-Botka

    It seems that all I contributed to this thread was noise; sorry.
    I don’t use ExtSettings and I didn’t read far enough into your first posting before I went off and started trying things.
    I suppose at this point I’d agree with the finding that ExtSettings is a factor in what you are seeing.