Padre
view release on metacpan or search on metacpan
lib/Padre/Config.pm view on Meta::CPAN
store => Padre::Constant::HUMAN,
default => 8,
project => 1,
);
#####################################################################
# Startup Behaviour Rules
setting(
name => 'startup_splash',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 0,
startup => 1,
help => _T('Showing the splash image during start-up'),
);
# Startup mode, if no files given on the command line this can be
# new - a new empty buffer
# nothing - nothing to open
# last - the files that were open last time
setting(
name => 'startup_files',
type => Padre::Constant::ASCII,
store => Padre::Constant::HUMAN,
default => 'new',
options => {
'last' => _T('Previous open files'),
'new' => _T('A new empty file'),
'nothing' => _T('No open files'),
'session' => _T('Open session'),
},
help => _T('"Open session" will ask which session (set of files) to open when you launch Padre.')
. _T(
'"Previous open files" will remember the open files when you close Padre and open the same files next time you launch Padre.'
),
);
# How many times has the user run Padre?
# Default is 1 and the value is incremented at shutdown rather than
# startup so that we don't have to write files in the startup sequence.
setting(
name => 'nth_startup',
type => Padre::Constant::POSINT,
store => Padre::Constant::HUMAN,
default => 1,
);
# Save if feedback has been send or not
setting(
name => 'nth_feedback',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 0,
);
# Have we shown the birthday popup this year? (Prevents duplicate popups)
# Store it on the host, because we can't really sync it properly.
setting(
name => 'nth_birthday',
type => Padre::Constant::INTEGER,
store => Padre::Constant::HOST,
default => 0,
);
######################################################################
# Main Window Tools and Layout
# Window
setting(
name => 'main_title',
type => Padre::Constant::ASCII,
store => Padre::Constant::HUMAN,
default => ( Padre::Constant::PORTABLE ? 'Padre Portable' : 'Padre' ),
help => _T('Contents of the window title') . _T('Several placeholders like the filename can be used'),
);
setting(
name => 'main_singleinstance',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => Padre::Constant::DEFAULT_SINGLEINSTANCE,
startup => 1,
);
setting(
name => 'main_singleinstance_port',
type => Padre::Constant::POSINT,
store => Padre::Constant::HOST,
default => Padre::Constant::DEFAULT_SINGLEINSTANCE_PORT,
startup => 1,
);
setting(
name => 'main_lockinterface',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 1,
);
setting(
name => 'main_functions',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 0,
);
setting(
name => 'main_functions_panel',
type => Padre::Constant::ASCII,
store => Padre::Constant::HUMAN,
default => 'right',
options => $PANEL_OPTIONS,
);
lib/Padre/Config.pm view on Meta::CPAN
# Behaviour Tuning
# When running a script from the application some of the files might have
# not been saved yet. There are several option what to do before running the
# script:
# none - don't save anything (the script will be run without current modifications)
# unsaved - as above but including modifications present in the buffer
# same - save the file in the current buffer
# all_files - all the files (but not buffers that have no filenames)
# all_buffers - all the buffers even if they don't have a name yet
setting(
name => 'run_save',
type => Padre::Constant::ASCII,
store => Padre::Constant::HUMAN,
default => 'same',
);
setting(
name => 'run_perl_cmd',
type => Padre::Constant::ASCII,
store => Padre::Constant::HOST,
# We don't get a default from Padre::Perl, because the saved value
# may be outdated sometimes in the future, reading it fresh on
# every run makes us more future-compatible
default => '',
);
setting(
name => 'lang_perl5_tags_file',
type => Padre::Constant::ASCII,
store => Padre::Constant::HOST,
# Don't save a default to allow future updates
default => '',
);
setting(
name => 'lang_perl5_lexer',
type => Padre::Constant::ASCII,
store => Padre::Constant::HOST,
default => '',
options => {
'' => _T('Scintilla'),
'Padre::Document::Perl::Lexer' => _T('PPI Experimental'),
'Padre::Document::Perl::PPILexer' => _T('PPI Standard'),
},
);
setting(
name => 'xs_calltips_perlapi_version',
type => Padre::Constant::ASCII,
store => Padre::Constant::PROJECT,
default => 'newest',
project => 1,
);
setting(
name => 'info_on_statusbar',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 0,
help => _T('Show low-priority info messages on statusbar (not in a popup)'),
);
# Move of stacktrace to run menu: will be removed (run_stacktrace)
setting(
name => 'run_stacktrace',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 0,
);
setting(
name => 'autocomplete_brackets',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 0,
);
setting(
name => 'mid_button_paste',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 0,
);
setting(
name => 'sessionmanager_sortorder',
type => Padre::Constant::ASCII,
store => Padre::Constant::HUMAN,
default => "0,0",
);
# By default use background threads unless profiling
# TO DO - Make the default actually change
# (Ticket # 669)
setting(
name => 'threads',
type => Padre::Constant::BOOLEAN,
store => Padre::Constant::HUMAN,
default => 1,
startup => 1,
);
setting(
name => 'threads_maximum',
type => Padre::Constant::INTEGER,
store => Padre::Constant::HOST,
default => 9,
);
setting(
name => 'threads_stacksize',
type => Padre::Constant::INTEGER,
store => Padre::Constant::HOST,
default => Padre::Constant::WIN32 ? 4194304 : 0,
startup => 1,
);
setting(
name => 'locale',
type => Padre::Constant::ASCII,
store => Padre::Constant::HUMAN,
default => '',
);
( run in 1.447 second using v1.01-cache-2.11-cpan-364913b4093 )