Jskad/source/options.txt
dchandler 08e4e2fc57 Added a flexible mechanism for persistent boolean-, integer-, and
string-valued preferences built atop java.util.Properties.

How it works: the jvm is asked first, and then the user's prefs file, if it exists,
then the system-wide prefs file, and then the built-in preferences.  Finally, for
robustness, a default may be optionally hard-coded in the source.

I made several things configurable, too:

the default Tibetan keyboard
the default font sizes and faces
whether you want developer-only features enabled
Savant's file extension (.savant)
etc.

The only known problems are the following:

The default location for the user's preferences file is windows-specific,
arbitrary, and not in the user documentation.  Likewise for the location of the
system-wide preferences file.  You can change them using 'java -D', though.

There is no "Save preferences" option yet, and closing the program does
not save preferences either.
2002-10-14 04:06:05 +00:00

81 lines
3.1 KiB
Text

# This is the built-in preferences file for Jskad, Savant,
# QuillDriver, and the Translation Tool.
#
# Please do not edit this file. Instead, create a system-wide or
# user-specific properties file, defining just the options that you
# want to differ from the defaults given here. See the documentation
# for how to do that. Or, if you are a developer or if we haven't
# written any documentation yet *smile*, look at
# 'http://thdltools.sourceforge.net/api/org/thdl/util/ThdlOptions.html'.
#
#
# This file must remain readable by the
# java.util.Properties.load(InputStream) mechanism, so don't just edit
# it willy-nilly -- instead, read the comments for each item.
############################################################################
######################### User Preferences ###########################
############################################################################
# Sets the Tibetan keyboard that Jskad uses on startup.
# Here are the acceptable values:
#
# 0: Extended Wylie Keyboard
# 1: TCC Keyboard #1
# 2: TCC Keyboard #2
# 3: Sambhota Keymap One
thdl.default.tibetan.keyboard = 0
# Set this to the default font face for Roman input. No error is
# given if this font is not found.
thdl.default.roman.font.face = Serif
# Set this to the default font size for Roman input:
thdl.default.roman.font.size = 14
# Set this to the default font size for Tibetan input:
thdl.default.tibetan.font.size = 36
# The extension that Savant's input files, the titles, must have:
thdl.savant.file.extension = .savant
# Set this to true only if you do not want Jskad to have a status bar.
thdl.Jskad.disable.status.bar = false
# The message displayed in Jskad's status bar when you start it up
# with thdl.Jskad.disable.status.bar set to false:
thdl.Jskad.initial.status.message = Welcome to Jskad!
############################################################################
####################### Developer Preferences ########################
############################################################################
# Set this to true to disable the creation of log files.
thdl.disable.log.file = false
# Set this to true if you want the debugging output, the .log files,
# to be placed in your system's temporary directory. You cannot set
# this to true AND set thdl.log.directory.
thdl.use.temp.file.directory.for.log = false
# Set this to the directory in which you want the debugging output,
# the .log files, placed. You cannot set this to true AND set
# thdl.use.temp.file.directory.for.log to true.
thdl.log.directory =
# Set this to true only if you are a developer and want to see what
# Jskad is "thinking" as you enter tibetan text. If
# thdl.Jskad.disable.status.bar is true, then this will have no
# effect.
thdl.Jskad.enable.tibetan.mode.status = false
# Set this to true only if you are a developer and want exceptional
# behavior to rear its ugly head as soon as possible:
thdl.debug = false
# Set this to true if you want Savant to treat all files as valid
# input. Otherwise, only .savant files are acceptable.
thdl.treat.all.files.as.dot.savant.files.regardless.of.extension = false