Is there any way to prevent Notepad++ from displaing spaces as first character of some lines? Can someone help me in identifying option or parameter responsible for that?
I started as Stack Overflow question on this problem, but we wouldn't be able to solve it:
For as far as I can say, this should be something specific to Notepad++ itself, not to Scintilla. I've been using another Scintilla-based editor for past ten years and it hasn't got that problem. No matter, what language / lexer / styling has been selected, spaces never appeared in the beginning of any line and each and every line always started with a character by the left margin, never with a space.
Thank you in advance for any help here,
can you post a screen shot of the problem? Also that link is of some other problem (related to read-only files).
Very sorry for misspelling the link. Here is correct one:
A screen-shot, describing problem, is included within that SO's question.
I can't reproduce problem on my machine. Can you try disabling plugins folder (by renaming it, and restarting N++)? Is problem still reproducible?
Also, In that screen capture, your N++ looks broken. Styles were not read in, and number of available languages is very limited. Can you try to download ZIP version and try with that one? Does it solve the problem?
(Gosh, what a buggy site, must write everything from scratch, damn!)
No, my N++ doesn't seems to be broken (I hope so). I have manually reduced number of languages in "Language" menu, using configuration, to just those, that I'm using everyday.
Maybe I should send you my entire zipped N++ folder, including all files in "Program Files" folder and all the configuration in "%APPDATA" folder?
Nope, it seems to be something deeply in Notepad++, as I managed to reproduce this in freshly downloaded ZIP file.
Here's what I did:
Downloaded freshly, brand-new "npp.6.5.2.bin.zip" file from N++ website and extracted it into "c:\npp.6.5.2.bin" folder.
Opened Notepad++ from "c:\npp.6.5.2.bin" folder and opened any example text file in it.
Spaces in the beginning of lines appeared after changing language (see attachment).
Because font is much smaller than in my configuration, there is fewer number of spaces, but still they can be easily spotted.
I have ZIPed my entire Notepad++ directory and %APPDATA%/Notepad++ folder contents. I have used these two ZIPs to "install" "my" version of Notepad++ to a test computer, freshly new, in the meaning, that it never "seen" a Notepad++ on it.
I was at once able to reproduce the mentioned problem.
So, if only SF will all me to add such large attachments, you may try to analyze them and maybe this way you'll be able to find out, what's causing that spaces in the beginning of lines.
Or, we have to drop this and I'll have to learn to live with them.
Cheers and Merry Christmas,
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.