@Raventara said in After updating to NP++ 7.8.4 (64 bit) all of the theme colours are incorrect:
After updating to NP++ 7.8.4 (64 bit) all of the theme colours are incorrect.
Does not happen to me but there was a recent issue posted that
JSON wasn’t colored as expected and it turned out that the stylers.xml got corrupted. In your case it might be the THEME_NAME.xml.
Maybe I’m assuming too much, but if you want to get rid of those false line wraps, extend @Alan-Kilborn 's regex as follows:
which produces this two-lines outcome:
"040339","0006","013","Amherst at City View","","","","","","HOUSTON","TX","77060","17103 IMPERIAL VALLEY DR","227","75.00","8.000000","AI","gate code 2070","","1","","","","","","","","29.946850","-95.396846","1.00","","","174350"
"041217","0001","001","PALM BEACH ESTATES ","","","","","","HOUSTON","TX","77060","16818 CITY VIEW PL","227","76.00","8.000000","AI","GATE CODE 1454 SECTION 1 GATE CODE 1453 ACROSS THE STREET ENTRANCE IS ON CITY VIEW OFF BENMAR","","1","","","","","","","","29.934018","-95.396125","1.00","","","174325"
I will try this and will surely tell you if it worked
It wasn’t so much a “worked” as “we need to see what Notepad++ is sending to the command processor to figure out what’s going wrong”.
But with the bit of information, it’s irrelevant now:
I used %cd% to go to the directory… but cd /d "%~dp0" should be used in case of opening batch file
Yes, the /d makes sense. I tend to forget that changing directory and drive using cd is more difficult; I primarily use single-drive systems (well, at work, we have network drives mapped to letters, but I’m almost never cd-ing into those directories)
The %~dp0 changes the batch/script name to just be a drive and folder… but since in the NotepadPlusPlus user-commands, you don’t have a batch/script filename, and $(CURRENT_DIRECTORY) already gives what you want (just the drive and folder), you don’t need that part.
So, the command you need is
<Command name="Java_Executor" Ctrl="no" Alt="no" Shift="no" Key="0">cmd /k cd /d "$(CURRENT_DIRECTORY)" && "D:\Projects\Java\Executor_Java.bat"</Command>
Note: I also put quotes around $(CURRENT_DIRECTORY) as well, in case it has spaces in the path.
BTW: Thanks for linking to the SO thread; when asking a question in multiple forums, it’s polite to crosslink both right away, so people can see whether it’s already been answered in the other location, or can learn from the other community’s responses.
Perhaps also a standard UDL (User Defined Language) can help in your case; this would also make the styling permanent.
Yes, use $ as a keyword and check prefix box.
Will color everything starting from $ til first non-word-char.
Hello, @the-best-of-voice and *All,
Open the Replace dialog ( Ctrl + H )
REPLACE Leave EMPTY
Tick the Wrap around option, if all the file must be processed and untick this option if the replacement must occur from current location till the very end of file, only
Select the Regular expression search mode
Click on the Replace All button
From beginning of line ( ^ ), it matches possible horizontal blank characters, as Space, Tabulation ( \h* )
Followed with a non-null range of digits (\d+ )
Followed with possible horizontal blank characters, again ( \h* )
And ended with its EOL chars ( \r\n for Windows files, \n in Unix files or \r in Mac files )
As replacement zone is EMPTY, the entire line, containing digits, only, with possible blank chars, is then deleted
this lesson is well understood :)
I’m an amateur in website creation, and I have several pages under different names, that I have to put dashes (-) instead of Space and at the end of each line before the / I’ll add extension .html and the rest after (/) is the title of each page.
@123698741 said in Ctrl + e and ctrl + shift + alt not working:
When I press ctrl + e a character like ENQ appears in a rectangle, instead of autocompleting a tag.
What key-combination is the “autocompleting a tag” command set to in the Shortcut Mapper ?
What is command is “ctrl+e” set to in the Shortcut Mapper ? (I suspect nothing because otherwise a black-boxed ENQ would NOT appear.)
and just when I press ctrl + shift + alt nothing happens
You mean only those 3 keys? If so, then you’re right, nothing happens (because nothing is supposed to).
BTW, if you want to know more about ctrl+e, here’s some light reading for you:
Maybe try a file compare on the original file and the file after alteration with Notepad++? It seems like something unintended is getting changed (I guess that is a fairly obvious statement).
if I use fifteen programs by Compatublo, eight by DidgeryDot, and twelve from NaNsoft…
I’ll bet that you don’t. :-)
when the fix might only require a three line code change
People that make these kinds of statements, and we seem to see them a lot here, just show they don’t know what they are talking about.
create an issue on the GitHub…done
And well done at that.
devs should also be allowed to decide for themselves
They surely do. Those people are golden, and in general, underappreciated. Three cheers.
Hi, @alan-kilborn, @ekopalypse and all,
Alan, I gave it a try to verify the behavior of my very old and weak XP SP3 system, on my old NEC M350 laptop ;-))
Some time ago , for various tests, I downloaded the N++ source files, so the two folders PowerEditor and scintilla in a new folder, named Sources. With my last installed N++ release ( v7.8.3 ) I ran the following Files in Files search
Search "(?-s)the.*not" (167 hits in 45 files)
D:\@@\770\Sources\PowerEditor\bin\license.txt (18 hits)
D:\@@\770\Sources\PowerEditor\bin\readme.txt (1 hit)
D:\@@\770\Sources\PowerEditor\src\MISC\Common\Common.h (1 hit)
D:\@@\770\Sources\PowerEditor\src\MISC\Common\mutex.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\MISC\Common\Sorters.h (2 hits)
D:\@@\770\Sources\PowerEditor\src\MISC\Common\verifySignedfile.h (1 hit)
D:\@@\770\Sources\PowerEditor\src\MISC\PluginsManager\Notepad_plus_msgs.h (7 hits)
D:\@@\770\Sources\PowerEditor\src\TinyXml\tinyxml.h (15 hits)
D:\@@\770\Sources\PowerEditor\src\TinyXml\tinyXmlA\tinyxmlA.h (15 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\CharDistribution.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\JpCntx.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsBig5Prober.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsCharSetProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsCodingStateMachine.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nscore.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsEscCharsetProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsEUCJPProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsEUCKRProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsEUCTWProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsGB2312Prober.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsHebrewProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsLatin1Prober.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsMBCSGroupProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsPkgInt.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsSBCharSetProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsSBCSGroupProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsSJISProber.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsUniversalDetector.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\nsUTF8Prober.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\prmem.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\uchardet\uchardet.h (4 hits)
D:\@@\770\Sources\PowerEditor\src\Utf8.h (1 hit)
D:\@@\770\Sources\PowerEditor\src\Utf8_16.h (1 hit)
D:\@@\770\Sources\PowerEditor\src\WinControls\PluginsAdmin\pluginsAdmin.h (1 hit)
D:\@@\770\Sources\PowerEditor\src\WinControls\shortcut\shortcut.h (1 hit)
D:\@@\770\Sources\scintilla\cocoa\PlatCocoa.h (1 hit)
D:\@@\770\Sources\scintilla\cocoa\ScintillaView.h (1 hit)
D:\@@\770\Sources\scintilla\doc\Lexer.txt (1 hit)
D:\@@\770\Sources\scintilla\include\Platform.h (2 hits)
D:\@@\770\Sources\scintilla\License.txt (1 hit)
D:\@@\770\Sources\scintilla\src\AutoComplete.h (1 hit)
D:\@@\770\Sources\scintilla\src\CaseConvert.h (1 hit)
D:\@@\770\Sources\scintilla\src\Document.h (1 hit)
D:\@@\770\Sources\scintilla\src\Style.h (1 hit)
D:\@@\770\Sources\scintilla\src\ViewStyle.h (1 hit)
Presently, my current session already contained 36 opened files, in various folders
The search directory was D:\@@\770\Sources and the filters zone contained *.txt *.h. All the search was done in 1,9 s
Note that the total size, of these 45 files, is not very important : 336,206 bytes
The opening, within N++, of these 45 files, with the Open All option, took 3,09 s Then, I just have to use 45 times the Ctrl + W shortcut to get rid of all these additional test files ;-))
May be, you could open the Windows Event Manager ( eventvwr.msc ), choose System, then the menu option View > Filter.... Now, tick Error events only and valid. You may also choose disk in the event source list, for an additional filtering ?