Question(s)
-
-
Also is there a setting to disable text lines?
-
@garrett-carey ,
You’re going to have to be a little bit more specific, because I have no idea what you’re referring to. -
@Lycan-Thrope Nevermind I found out what it was and it’s good now. Also is it possible to restore tabs (not sure what happened but all my tabs I had opened went away.
-
@garrett-carey said in Question(s):
Also is it possible to restore tabs (not sure what happened but all my tabs I had opened went away.
Notepad++ itself does not have a built-in mechanism to archive copies of its configuration or settings files. Notepad++ stores all of its configurations/settings in plain text files.
The list of tabs is stored in the session.xml file. If you maintain backups of your computer then restore the version of session.xml that has the list of tabs that you are interested in.
-
@mkupper Also is there a setting in notepad++ to change default zoom?
-
@garrett-carey If you hold the Control button while scrolling with your mouse, it should change the zoom level. Your current zoom level is restored between sessions, so it is the default zoom level.
-
@garrett-carey said in Question(s):
Also is there a setting in notepad++ to change default zoom?
@Jonathan-Johansen replied with,
Your current zoom level is restored between sessions, so it is the default zoom level.
I was dubious about that reply, but was able to confirm it. Since I’ve always used zoom as a temporary thing (and
Ctrl+Num/
to reset), I don’t remember ever noticing that the zoom is actually saved in the preferences (config.xml
>GUIConfig name="ScintillaPrimaryView"
> Attributeszoom
andzoom2
– which is kindof funny that there are two, since N++ forces both zooms to be the same, so if I exit with two views visible, externally editconfig.xml
to setzoom="0" zoom2="60"
and open again, both views will be at full zoom; however, if I exit with only primary view visible, setzoom="0" zoom2="60"
and open again, it will open no zoom (ie, 100%); ooh, fun, I can confuse it: if I had 0/60 when I loaded with one View, then open or clone a file into the other View to get it to show both, then it will use different zoom sizes that run; if I exit and rerun in that condition, it will use the 60-zoom for both, and save the config.xml with both zooms at 60 next time.)But back to @garrett-carey’s question: Setting “default” zoom actually seems unneeded to me. If you really want to start with a different text size as your normal text size, instead of using “Zoom”, why not just change your default font size? Settings > Style Configurator > Language:
Global Styles
> Style:Default Style
and set Font Style > Font Size: ___ to something bigger. This way, 100%-zoom will be relative to the font size you actually want. (Most themes correctly inherit all the indvidual styles’s font-size from the Default Style for that font, so it should, in general, work across normal text and all the languages in your chosen theme.) -
@PeterJones said:
…zoom is actually saved in the preferences (config.xml > GUIConfig name=“ScintillaPrimaryView” > Attributes zoom and zoom2 – which is kindof funny that there are two, since N++ forces both zooms to be the same, so if I exit with two views visible, externally edit config.xml to set zoom=“0” zoom2=“60” and open again, both views will be at full zoom; however, if I exit with only primary view visible, set zoom=“0” zoom2=“60” and open again, it will open no zoom (ie, 100%); ooh, fun, I can confuse it: if I had 0/60 when I loaded with one View, then open or clone a file into the other View to get it to show both, then it will use different zoom sizes that run; if I exit and rerun in that condition, it will use the 60-zoom for both, and save the config.xml with both zooms at 60 next time.)
Is this worthy of creating an official issue, so that (in theory) these things get fixed, i.e., cleaned up?
-
@PeterJones said in Question(s):
If you really want to start with a different text size as your normal text size, instead of using “Zoom”, why not just change your default font size?
I routinely work “zoomed” because the font size also affects printing. Though I don’t print often, if I set the font size to be large enough for me to read easily on screen, it’s way too large for efficient printing.
-
@Coises said in Question(s):
I routinely work “zoomed” because the font size also affects printing. Though I don’t print often, if I set the font size to be large enough for me to read easily on screen, it’s way too large for efficient printing.
I had not noticed that the zoom size affects the printing. That surprised me as I regularly change the zoom and have a one page report I print weekly. I know that with my printer that a printed page is 67 lines with 94 characters per line. Thus, before printing the weekly thing I check the line length and that it’s 67 or less lines. The printed pages have always been 67 × 94 despite that I may be zoomed in or out at the time.
I verified that at least for my current setup that the zoom level seems to have no affect on the printed results.
A minor Notepad++ printing annoyance for me is that words that DSpellCheck deems to be misspelled have red underlines in the printed pages. Thus I need to remember to
ALT+A
to disable DSpellCheck, print, and thenALT+A
to re-enable automatic spell checking. -
@mkupper said in Question(s):
I verified that at least for my current setup that the zoom level seems to have no affect on the printed results.
Same here. Perhaps I was unclear.
If I leave the zoom at default and adjust the font size for Default Style to be large enough for me to read easily on my monitor, I would set a font size of 14 or 16 points with Liberation Mono. (14 is bit smaller than I like, 16 is too big, 15 isn’t an option.) Those are too large for printing, though.
If I set Default Style to 12 points, printing is reasonable. If I then zoom in 3 steps, I’m just about where I want to be to read easily on the screen — without affecting printing.
The question I was answering was, “Why not just change your default font size?” Because that does affect printing (and, though I hadn’t remembered until I tried just now, also isn’t as fine-grained as zoom).