(Back to Table of Contents)

The Options file
JLookUp keeps all of the options and settings in a file called 'Options.jlreg'. Don't be discouraged by the .jlreg part; it's just a normal text file.

If JLookUp crashes on startup, you might have a bad option in here somewhere. Feel free to take a look and see if you can fix it. If not, delete it and see if that fixes anything. JLookUp will make a new options file with default values, so don't worry.

Okay! The options file is pretty organized and it makes sense to me, but I've been working with it forever.

Format:
Comments
All comments must begin with '#'. I mean begin. No spaces, no tabs. A '#'.
Keys
A key is like a folder (or a Registry key *wink*). A key starts with KEY_START, and then '::', and then the key's name. It ends with KEY_STOP on a separate line.
Data
Data is organized by key. Data can have various types:
  • STRING (text)
  • INT (a number)
  • BOOL (TRUE or FALSE)
This is all CASE-SENSITIVE, so be careful.

Now, don't think that your comments will be where you put them (after you run JLookUp). It takes all comments and stuffs them (in order), right under the KEY_START line.

Now, as of version 1.0.4, JLookUp will tell you if a key or data is wrong, and then it will close. You can either make the key or data that it wanted, or you can just delete 'Options.jlreg' and have JLookUp make a new options file.

In the changes from 1.0.5 to 1.0.6, the following changes have been made to Options.jlreg:
Added
Search/Toolbars
Search/Toolbars/Type
Search/Toolbars/Substr
Search/Toolbars/Word
Search/Toolbars/Romaji-conversion
Search/Toolbars/Kana-sensitive
Search/Toolbars/Show
Search/Toolbars/Encoding
Search/ShowInitialText
Search/AlwaysSearchFocus
Results/HeaderWindow1
Results/HeaderWindow1/Header0
Results/HeaderWindow1/Header1
Results/HeaderWindow1/Header2
Results/HeaderWindow1/Header3
Results/HeaderWindow2
Results/HeaderWindow2/Header0
Results/HeaderWindow2/Header1
Kanji/HeaderWindow1
Kanji/HeaderWindow1/Header0
Kanji/HeaderWindow1/Header1
Kanji/HeaderWindow1/Header2
Kanji/HeaderWindow1/Header3
Kanji/HeaderWindow2
Kanji/HeaderWindow2/Header0
Kanji/HeaderWindow2/Header1
Misc/FirstTime
Misc/Version
Deleted
Search/Type
Search/Substr
Search/Word
Search/Romaji-conversion
Search/Kana-sensitive
Search/Show
Search/Encoding
Search/Romaji

In the changes from 1.0.3 to 1.0.4, the following changes have been made to Options.jlreg:
Added
Search/Font
Search/Font/Font
Search/Font/Size
Search/Font/Color
Search/WindowBG

Misc
Misc/Font
Misc/Font/Font
Misc/Font/Size
Deleted
Buffers/EDICTIndex

(Back to Table of Contents)