Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notepad Plus + v2.5 [Coded by Ace]
#60
(06-06-2011, 08:41 AM)Fragma Wrote: Also, I assume that when editing the config file, your settings are saved, meaning when you close the program, and come back to it, you will still have the same theme?

yep, as long as there is a config.ini in the same directory as the app, it will read from it those settings. Settings get saved into the .ini file. If the ini file gets deleted, next time you start the app, it will use the global program default settings. Basically like a fresh start if you don't like your settings.

If you don't like the .ini showing, create a directory/folder in program files or something, place the app in there like any other normal installed program, and when you run it, it'll create a .ini file in there for the config, then just create a shortcut to the app on your desktop or something.

config.ini gets regenerated whenever it doesn't find that file in the same location as the application. And it only reads the config.ini file if it's in the same location as the app.

If you edit the config file, the file has to be saved, so that the changes can be read the next time the application uses the file to load settings from.
I had to remove the visibility of the Line and Column display in the status bar for when the richtextbox Word Wrap event is on because the only possible way to define a new line is by the character sent by the {Enter} or {Return} key on the keyboard. If word wrap is on, and you type to the end of a line, it will go to the next line without displaying a new line indicator {VbLF} and the line therefor never gets updated.

The only way I could show what's going on is if you were to take a look at Notepad++. How they deal with that little unfortunate logic is by a line display on the left side, you'll notice with word wrap on that if you type to the end of a line, it won't display
another number for a line, instead it will insert empty strings into the drawn out control and update the number with (number + 1) only when the new line is defined by pressing the enter key. (Or having copied and pasted text containing the new line {VbLf} indicator.)
Reply


Messages In This Thread
RE: Notepad Plus + v2.5 [Coded by Unleashed] - by AceInfinity - 06-06-2011, 02:51 PM
RE: Notepad Plus + v2.5 [Coded by Ace] - by Nov - 08-06-2011, 09:29 AM
RE: Notepad Plus + v2.5 [Coded by Ace] - by Blunt - 08-11-2011, 12:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Code Challenge - Created by Ace AceInfinity 5 1,713 04-24-2012, 10:27 AM
Last Post: AceInfinity
  File Profiler Demo - Preview - Developed by Ace AceInfinity 4 1,420 12-30-2011, 08:17 PM
Last Post: AceInfinity
  New System Diagnostic Tool - Created by Ace AceInfinity 28 8,835 11-21-2011, 09:55 AM
Last Post: UrbanByte
  RoboBackup [Created by Ace] AceInfinity 22 6,939 11-19-2011, 03:49 PM
Last Post: Hex
  [Rlease] Advanced Notepad Chelloa 11 3,117 10-16-2011, 12:35 PM
Last Post: John.

Forum Jump:


Users browsing this thread: 21 Guest(s)