by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 19:58

    donho on master

    [EU-FOSSA] Fix stack overflow i… (compare)

  • Jan 30 2019 23:17

    donho on master

    [EU-FOSSA] Fix stack overflow i… (compare)

  • Jan 30 2019 22:32
    batagy opened #5287
  • Jan 30 2019 20:32
    ivanmari edited #5286
  • Jan 30 2019 20:30
    ivanmari edited #5286
  • Jan 30 2019 20:10
    ivanmari opened #5286
  • Jan 30 2019 17:10
    EwoutH opened #5285
  • Jan 30 2019 14:24
    TigerxWood opened #5284
  • Jan 30 2019 14:21
    TigerxWood closed #5283
  • Jan 30 2019 14:20
    TigerxWood opened #5283
  • Jan 30 2019 12:09
    donho closed #2327
  • Jan 30 2019 09:06
    beerisgood opened #5282
  • Jan 30 2019 00:55

    donho on master

    [EU-FOSSA] Fix stack overflow i… (compare)

  • Jan 29 2019 23:05
    jasonbrown1965 edited #5281
  • Jan 29 2019 23:05
    jasonbrown1965 edited #5281
  • Jan 29 2019 23:04
    jasonbrown1965 opened #5281
  • Jan 29 2019 19:21
    wqweto opened #5280
  • Jan 29 2019 19:09
    wqweto synchronize #5273
  • Jan 29 2019 18:24
    wqweto synchronize #5273
  • Jan 29 2019 13:13
    donho closed #5205
ryanmq
@ryanmq
@zappagoblin if you search for something, but then modify the document prior to the line that the search results are on, that search will still reference to the results it had given. IE: I have the word "HELP" on line 6, and my search shows me the result of searching for help to be on line 6. I then add a new line at line 5 with text. Whatever was at line 5 will now be at line 6. So if I double click on the search result (not performing a new search). It will take me to line 6, but HELP is now on line 7. I hope this helps, I don't know of an easier way to explain it. In short, once you perform a search, if you make any changes, perform the search again to get updated results.
johncaplan
@johncaplan
Hi - I've just downloaded the latest version, but can't see the Hex plugin available when I click on Pugins->PlugIns Admin...
*Plugins
zappagoblin
@zappagoblin
@ryanmq
Thank you for your reply. But it seems the "find in files" problem remain. I check the files was correctly saved. I'll make some other try to verify the problem conditions. Thanks again!
DrRounds
@DrRounds
@johncaplan It is my understanding that the Hex Edit plugin was removed from the Plugin Admin. You can download it manually and install it in the proper folder (varies depending on 32bit or 64 bit and version).
tobizviz
@tobizviz
I like to suggest a feature: Pinned Tabs (like in firefox/chrome), i.e., the ability to pin tabs which then stay present at the top left of the tab bar even when the tab bar is scrolling. Any thoughts?
tobizviz
@tobizviz
Kirill
@Sebastianxy1
hey guys
noahmk4605
@noahmk4605
hello?
L Addo
@titookello_gitlab
I am unable to run codes on notpadd++ as the run button that I used to see s no longer available. Can anyone help
Faisal Rahman
@faisalr_cool_twitter
Function list is not working in npp
Fintan Moloney
@Josebuendia
@titookello_gitlab You need to change Notepad++'s XML file.
sjzoppi
@sjzoppi
Hi all - Anyone else running into problems with the 64-bit version doing line-level sorting?
sasumner
@sasumner
@sjzoppi I guess you'd have to be more specific on the type of problems before anyone can comment
sjzoppi
@sjzoppi
Sorting simply does nothing.
a collection of lines when sorting "lexicographically" (or any other way for that matter) doesn't happen.
It Does happen on the 32-bit version.
sasumner
@sasumner
@sjzoppi I guess I couldn't say; it seems to sort fine for me, so I suppose someone else might have to chime in
sjzoppi
@sjzoppi
Thanks for responding.
sjzoppi
@sjzoppi
I figured out the problem and it's probably not "technically" a 'bug' ... It has to do with the line-ending setting ... If a 'cut/paste' was done from a Unix(LF) file into a Windows(CR|LF) file, the line endings LOOK 'fine' (NPP recognizes the LF and dutifully numbers the lines. But because they are lacking the requisite "CR" before the "LF" - the sort function won't recognize them as actual lines ... So this is a bit of a cognitive difference between what the EDITOR window recognizes as a "line" and what the sort function does.
sasumner
@sasumner
@sjzoppi A paste should unify line-endings into the target document's line-ending type.
@sjzoppi I'm surprised 32-bit and 64-bit would be different with sorting (with the new info on line-endings)
sjzoppi
@sjzoppi
Yes - I'll try to reproduce the exact steps ... because I'm doing 6 things at once and don't want to err on the order in which I did them. in the meantime - regardless - it's clear that what appears to be a 'line' to the editor window isn't the same to the sort function. You can force the symptom by putting a bunch of semi-colon delimited data into a Windows(CR|LF) window and, using the replace function / with extended expression mode on, replace ";" with "\n" ... This will cause the editor to break up the "new lines" and number them ... but ONLY those lines with CRLF endings will be recognized as "lines" to the sort function.
sasumner
@sasumner
@sjzoppi Yes that's true, it is a way to get mixed line-endings in your file. But you had said you pasted and a regular paste shouldn't cause that situation, so I was wondering about that.
sjzoppi
@sjzoppi
@sasumner yes - I cannot 100% vouch for the order in which I'm working because "multitasking" wins over "precision" right now ... but that's the story and it's debatable whether or not "sort" should respect "LF" or "CRLF" exclusively - but now that I've figured it out - I'll leave the philosophical questions to the developers.

And give "props" - I love NPP - and the plugins community also rocks....

So thank you for responding!

sasumner
@sasumner
@sjzoppi Notepad++ 's sort routines use the current-file's line-ending type to chop the data up for sorting. That's why it does what it does.
sjzoppi
@sjzoppi
yes - that was my conclusion... but it's a slightly disconnected experience when the editor window (regardless of the line-ending type) STILL breaks things up into "lines" even if the ACTUAL line-endings are not consistent.
sasumner
@sasumner
@sjzoppi Maybe it should first convert any "foreign" line-endings to the current file's line-ending type
sjzoppi
@sjzoppi
@sasumner I'm not sure whether or not it should - Or whether it should just WARN you - There are times when I prefer to have intermixed line-endings in the file.
for me - a better experience would just be a warning that there are a mix of line-endings in the file...
sasumner
@sasumner
@sjzoppi Yea...it's actually difficult to get into that situation (aside from the regex thing you mentioned).
sjzoppi
@sjzoppi
@sasumner I understand - but it's difficult to get into a LOT of situations I seem to find myself in - but manage to find myself there regardless. :-)
RogueString
@RogueString
Hi All, I have a file full of prices and was wondering if anyone knew a way or if it's possible to use the search/replace tool to find a price and multiply it by a percentage, then replace with the result?
sasumner
@sasumner
@RogueString Not possible without writing a program
RogueString
@RogueString
bummer, was hoping there was a wildcard in search that could be used in a function in the replace field, like ([[:%1:]]*1.20)
sasumner
@sasumner
@RogueString But if that doesn't scare you, and your prices all have a nice pattern to them, it isn't so bad
@RogueString Closest you could come is regular expression replacement, but regular expressions don't do math
RogueString
@RogueString
Thank you sasumner
sasumner
@sasumner
@RogueString Don't want to program it? :-)
RogueString
@RogueString
oh , I'm thinking a quick python script should do the trick, just being lazt ;)
*lazy
and I was curious too, to see if it could be done
sasumner
@sasumner
Yes, Python is the way to go. You can do Python "inside" notepad++, and it is fairly easy to do what you want
So there's a function editor.rereplace that takes 2 arguments; one is your string to search for, the other is a function where you could for example do math on what was found; your function then returns the text that should replace the originally matched text
You might want to try it; gain another tool in your toolbox
Jitendra Bhardwaj
@MrJitendra_B_twitter
hi
please help to enable spelling check in notepad++ 7.8.5
Hasenradball
@hasenradball
Hi togehter,