cleaning up messages string a little
This commit is contained in:
parent
35d2ca218b
commit
4df05414f2
262
4ed.cpp
262
4ed.cpp
|
@ -9,6 +9,137 @@
|
||||||
|
|
||||||
// TOP
|
// TOP
|
||||||
|
|
||||||
|
// Messages
|
||||||
|
global_const char messages[] =
|
||||||
|
"----------------------------------------------------------------\n"
|
||||||
|
"Welcome to " VERSION "\n"
|
||||||
|
"If you're new to 4coder there are some tutorials at http://4coder.net/tutorials.html\n"
|
||||||
|
"\n"
|
||||||
|
"Newest features:\n"
|
||||||
|
"-Color schemes are now loaded in theme files from the \"themes\" folder\n"
|
||||||
|
"-After loading a project <alt h> sets the hot directory to the project directory\n"
|
||||||
|
"-The flag -L enables a logging system that will collect information in case more information is needed while debugging a problem\n"
|
||||||
|
"-All command line flags after the special flag --custom are now passed to the custom API start hook\n"
|
||||||
|
"-The start hook now gets the list of file names that were specified on the command line\n"
|
||||||
|
" All of the files specified on the command line are loaded before the start hook runs\n"
|
||||||
|
"-It is now possible to set the hot directory from the custom API\n"
|
||||||
|
"-On windows the buildsuper scripts are improved to look for vcvarsall.bat in lots of common locations\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.20:\n"
|
||||||
|
"-Option for LAlt + LCtrl = AltGr on Windows is now in config.4coder\n"
|
||||||
|
"-The 4cpp lexer now has a customizable keyword table, *experimental* expansion of language support to:\n"
|
||||||
|
" Rust, C#, Java\n"
|
||||||
|
" Arbitrary keyword customization available in custom code (super users)\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.19:\n"
|
||||||
|
"-Lexer now handles string literal prefixes and is more optimized\n"
|
||||||
|
"-Fixes for lingering unicode bugs\n"
|
||||||
|
"-Power users have an experimental new jump to error that positions through edits (coming to all tiers soon)\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.18:\n"
|
||||||
|
"-Support for rendering unicode characters\n"
|
||||||
|
"-<ctrl t> isearch alpha-numeric word under cursor\n"
|
||||||
|
"-<ctrl Q> query replace alpha-numeric word under cursor\n"
|
||||||
|
"-<alt b> toggle file bar\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.17:\n"
|
||||||
|
"-New support for extended ascii input.\n"
|
||||||
|
"-Extended ascii encoded in buffers as utf8.\n"
|
||||||
|
"-The custom layer now has a 'markers' API for tracking buffer positions across changes.\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.16:\n"
|
||||||
|
"-<alt 2> If the current file is a C++ code file, this opens the matching header.\n"" If the current file is a C++ header, this opens the matching code file.\n"
|
||||||
|
"-Option to automatically save changes on build in the config file.\n"
|
||||||
|
" This works for builds triggered by <alt m>.\n"
|
||||||
|
"-Option in project files to have certain fkey commands save changes.\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.15:\n"
|
||||||
|
"-<ctrl I> find all functions in the current buffer and list them in a jump buffer\n"
|
||||||
|
"-option to set user name in config.4coder\n"
|
||||||
|
" The user name is used in <alt t> and <alt y> comment writing commands\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.14:\n"
|
||||||
|
"-Option to have wrap widths automatically adjust based on average view width\n"
|
||||||
|
"-The 'config.4coder' file can now be placed with the 4ed executable file\n"
|
||||||
|
"-New options in 'config.4coder' to specify the font and color theme\n"
|
||||||
|
"-New built in project configuration system\n"
|
||||||
|
"-New on-save hooks allows custom behavior in the custom layer whenever a file is saved\n"
|
||||||
|
"-When using code wrapping, any saved file is automatically indented in the text format, this option can be turned off in config.4coder\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.12 and 4.0.13:\n"
|
||||||
|
"-Text files wrap lines at whitespace when possible\n"
|
||||||
|
"-New code wrapping feature is on by default\n"
|
||||||
|
"-Introduced a 'config.4coder' for setting several wrapping options:\n"
|
||||||
|
" enable_code_wrapping: set to false if you want the text like behavior\n"
|
||||||
|
" default_wrap_width: the wrap width to set in new files\n"
|
||||||
|
"-<ctrl 2> decrease the current buffer's wrap width\n"
|
||||||
|
"-<ctrl 3> increase the current buffer's wrap width\n"
|
||||||
|
"-In the customization layer new settings for the buffer are exposed dealing with wrapping\n"
|
||||||
|
"-In the customization layer there is a call for setting what keys the GUI should use\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.11:\n"
|
||||||
|
"-The commands for going to next error, previous error, etc now work\n"
|
||||||
|
" on any buffer with jump locations including *search*\n"
|
||||||
|
"-4coder now supports proper, borderless, fullscreen with the flag -F\n"
|
||||||
|
" and fullscreen can be toggled with <control pageup>.\n"
|
||||||
|
" (This sometimes causes artifacts on the Windows task bar)\n"
|
||||||
|
"-<alt E> to exit\n"
|
||||||
|
"-hook on exit for the customization system\n"
|
||||||
|
"-tokens now exposed in customization system\n"
|
||||||
|
"-mouse release events in customization system\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.10:\n"
|
||||||
|
"-<ctrl F> list all locations of a string across all open buffers\n"
|
||||||
|
"-Build now finds build.sh and Makefile on Linux\n"
|
||||||
|
"-<alt n> goes to the next error if the *compilation* buffer is open\n"
|
||||||
|
"-<alt N> goes to the previous error\n"
|
||||||
|
"-<alt M> goes to the first error\n"
|
||||||
|
"-<alt .> switch to the compilation buffer\n"
|
||||||
|
"-<alt ,> close the panel viewing the compilation buffer\n"
|
||||||
|
"-New documentation for the 4coder string library included in 4coder_API.html\n"
|
||||||
|
"-Low level allocation calls available in custom API\n"
|
||||||
|
"-Each panel can change font independently.\n"
|
||||||
|
" Per-buffer fonts are exposed in the custom API.\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.9:\n"
|
||||||
|
"-A scratch buffer is now opened with 4coder automatically\n"
|
||||||
|
"-A new mouse suppression mode toggled by <F2>\n"
|
||||||
|
"-Hinting is disabled by default, a -h flag on the command line enables it\n"
|
||||||
|
"-New 4coder_API.html documentation file provided for the custom layer API\n"
|
||||||
|
"-Experimental new work-flow for building and jumping to errors\n"
|
||||||
|
" This system is only for MSVC in the 'power' version as of 4.0.9\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.8:\n"
|
||||||
|
"-Eliminated the parameter stack\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.7:\n"
|
||||||
|
"-Right click sets the mark\n"
|
||||||
|
"-Clicks now have key codes so they can have events bound in customizations\n"
|
||||||
|
"-<alt d> opens a debug view, see more in README.txt\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.6:\n"
|
||||||
|
"-Tied the view scrolling and the list arrow navigation together\n"
|
||||||
|
"-Scroll bars are now toggleable with <alt s> for show and <alt w> for hide\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.5:\n"
|
||||||
|
"-New indent rule\n"
|
||||||
|
"-app->buffer_compute_cursor in the customization API\n"
|
||||||
|
"-f keys are available in the customization system now\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.3 and 4.0.4:\n"
|
||||||
|
"-Scroll bar on files and file lists\n"
|
||||||
|
"-Arrow navigation in lists\n"
|
||||||
|
"-A new minimal theme editor\n"
|
||||||
|
"\n"
|
||||||
|
"New in alpha 4.0.2:\n"
|
||||||
|
"-The file count limit is over 8 million now\n"
|
||||||
|
"-File equality is handled better so renamings (such as 'subst') are safe now\n"
|
||||||
|
"-This buffer will report events including errors that happen in 4coder\n"
|
||||||
|
"-Super users can post their own messages here with app->print_message\n"
|
||||||
|
"-<ctrl e> centers view on cursor; cmdid_center_view in customization API\n"
|
||||||
|
"-Set font size on command line with -f N, N = 16 by default\n\n";
|
||||||
|
|
||||||
|
|
||||||
// App Structs
|
// App Structs
|
||||||
|
|
||||||
#define DEFAULT_DISPLAY_WIDTH 672
|
#define DEFAULT_DISPLAY_WIDTH 672
|
||||||
|
@ -1966,136 +2097,7 @@ App_Step_Sig(app_step){
|
||||||
|
|
||||||
// NOTE(allen): initialize message
|
// NOTE(allen): initialize message
|
||||||
if (input->first_step){
|
if (input->first_step){
|
||||||
String welcome =
|
String welcome = make_lit_string(messages);
|
||||||
make_lit_string("----------------------------------------------------------------\n"
|
|
||||||
"Welcome to " VERSION "\n"
|
|
||||||
"If you're new to 4coder there are some tutorials at http://4coder.net/tutorials.html\n"
|
|
||||||
"\n"
|
|
||||||
"Newest features:\n"
|
|
||||||
"-Color schemes are now loaded in theme files from the \"themes\" folder\n"
|
|
||||||
"-After loading a project <alt h> sets the hot directory to the project directory\n"
|
|
||||||
"-The flag -L enables a logging system that will collect information in case more information is needed while debugging a problem\n"
|
|
||||||
"-All command line flags after the special flag --custom are now passed to the custom API start hook\n"
|
|
||||||
"-The start hook now gets the list of file names that were specified on the command line\n"
|
|
||||||
" All of the files specified on the command line are loaded before the start hook runs\n"
|
|
||||||
"-It is now possible to set the hot directory from the custom API\n"
|
|
||||||
"-On windows the buildsuper scripts are improved to look for vcvarsall.bat in lots of common locations\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.20:\n"
|
|
||||||
"-Option for LAlt + LCtrl = AltGr on Windows is now in config.4coder\n"
|
|
||||||
"-The 4cpp lexer now has a customizable keyword table, *experimental* expansion of language support to:\n"
|
|
||||||
" Rust, C#, Java\n"
|
|
||||||
" Arbitrary keyword customization available in custom code (super users)\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.19:\n"
|
|
||||||
"-Lexer now handles string literal prefixes and is more optimized\n"
|
|
||||||
"-Fixes for lingering unicode bugs\n"
|
|
||||||
"-Power users have an experimental new jump to error that positions through edits (coming to all tiers soon)\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.18:\n"
|
|
||||||
"-Support for rendering unicode characters\n"
|
|
||||||
"-<ctrl t> isearch alpha-numeric word under cursor\n"
|
|
||||||
"-<ctrl Q> query replace alpha-numeric word under cursor\n"
|
|
||||||
"-<alt b> toggle file bar\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.17:\n"
|
|
||||||
"-New support for extended ascii input.\n"
|
|
||||||
"-Extended ascii encoded in buffers as utf8.\n"
|
|
||||||
"-The custom layer now has a 'markers' API for tracking buffer positions across changes.\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.16:\n"
|
|
||||||
"-<alt 2> If the current file is a C++ code file, this opens the matching header.\n"" If the current file is a C++ header, this opens the matching code file.\n"
|
|
||||||
"-Option to automatically save changes on build in the config file.\n"
|
|
||||||
" This works for builds triggered by <alt m>.\n"
|
|
||||||
"-Option in project files to have certain fkey commands save changes.\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.15:\n"
|
|
||||||
"-<ctrl I> find all functions in the current buffer and list them in a jump buffer\n"
|
|
||||||
"-option to set user name in config.4coder\n"
|
|
||||||
" The user name is used in <alt t> and <alt y> comment writing commands\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.14:\n"
|
|
||||||
"-Option to have wrap widths automatically adjust based on average view width\n"
|
|
||||||
"-The 'config.4coder' file can now be placed with the 4ed executable file\n"
|
|
||||||
"-New options in 'config.4coder' to specify the font and color theme\n"
|
|
||||||
"-New built in project configuration system\n"
|
|
||||||
"-New on-save hooks allows custom behavior in the custom layer whenever a file is saved\n"
|
|
||||||
"-When using code wrapping, any saved file is automatically indented in the text format, this option can be turned off in config.4coder\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.12 and 4.0.13:\n"
|
|
||||||
"-Text files wrap lines at whitespace when possible\n"
|
|
||||||
"-New code wrapping feature is on by default\n"
|
|
||||||
"-Introduced a 'config.4coder' for setting several wrapping options:\n"
|
|
||||||
" enable_code_wrapping: set to false if you want the text like behavior\n"
|
|
||||||
" default_wrap_width: the wrap width to set in new files\n"
|
|
||||||
"-<ctrl 2> decrease the current buffer's wrap width\n"
|
|
||||||
"-<ctrl 3> increase the current buffer's wrap width\n"
|
|
||||||
"-In the customization layer new settings for the buffer are exposed dealing with wrapping\n"
|
|
||||||
"-In the customization layer there is a call for setting what keys the GUI should use\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.11:\n"
|
|
||||||
"-The commands for going to next error, previous error, etc now work\n"
|
|
||||||
" on any buffer with jump locations including *search*\n"
|
|
||||||
"-4coder now supports proper, borderless, fullscreen with the flag -F\n"
|
|
||||||
" and fullscreen can be toggled with <control pageup>.\n"
|
|
||||||
" (This sometimes causes artifacts on the Windows task bar)\n"
|
|
||||||
"-<alt E> to exit\n"
|
|
||||||
"-hook on exit for the customization system\n"
|
|
||||||
"-tokens now exposed in customization system\n"
|
|
||||||
"-mouse release events in customization system\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.10:\n"
|
|
||||||
"-<ctrl F> list all locations of a string across all open buffers\n"
|
|
||||||
"-Build now finds build.sh and Makefile on Linux\n"
|
|
||||||
"-<alt n> goes to the next error if the *compilation* buffer is open\n"
|
|
||||||
"-<alt N> goes to the previous error\n"
|
|
||||||
"-<alt M> goes to the first error\n"
|
|
||||||
"-<alt .> switch to the compilation buffer\n"
|
|
||||||
"-<alt ,> close the panel viewing the compilation buffer\n"
|
|
||||||
"-New documentation for the 4coder string library included in 4coder_API.html\n"
|
|
||||||
"-Low level allocation calls available in custom API\n"
|
|
||||||
"-Each panel can change font independently.\n"
|
|
||||||
" Per-buffer fonts are exposed in the custom API.\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.9:\n"
|
|
||||||
"-A scratch buffer is now opened with 4coder automatically\n"
|
|
||||||
"-A new mouse suppression mode toggled by <F2>\n"
|
|
||||||
"-Hinting is disabled by default, a -h flag on the command line enables it\n"
|
|
||||||
"-New 4coder_API.html documentation file provided for the custom layer API\n"
|
|
||||||
"-Experimental new work-flow for building and jumping to errors\n"
|
|
||||||
" This system is only for MSVC in the 'power' version as of 4.0.9\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.8:\n"
|
|
||||||
"-Eliminated the parameter stack\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.7:\n"
|
|
||||||
"-Right click sets the mark\n"
|
|
||||||
"-Clicks now have key codes so they can have events bound in customizations\n"
|
|
||||||
"-<alt d> opens a debug view, see more in README.txt\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.6:\n"
|
|
||||||
"-Tied the view scrolling and the list arrow navigation together\n"
|
|
||||||
"-Scroll bars are now toggleable with <alt s> for show and <alt w> for hide\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.5:\n"
|
|
||||||
"-New indent rule\n"
|
|
||||||
"-app->buffer_compute_cursor in the customization API\n"
|
|
||||||
"-f keys are available in the customization system now\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.3 and 4.0.4:\n"
|
|
||||||
"-Scroll bar on files and file lists\n"
|
|
||||||
"-Arrow navigation in lists\n"
|
|
||||||
"-A new minimal theme editor\n"
|
|
||||||
"\n"
|
|
||||||
"New in alpha 4.0.2:\n"
|
|
||||||
"-The file count limit is over 8 million now\n"
|
|
||||||
"-File equality is handled better so renamings (such as 'subst') are safe now\n"
|
|
||||||
"-This buffer will report events including errors that happen in 4coder\n"
|
|
||||||
"-Super users can post their own messages here with app->print_message\n"
|
|
||||||
"-<ctrl e> centers view on cursor; cmdid_center_view in customization API\n"
|
|
||||||
"-Set font size on command line with -f N, N = 16 by default\n\n"
|
|
||||||
);
|
|
||||||
|
|
||||||
do_feedback_message(system, models, welcome, true);
|
do_feedback_message(system, models, welcome, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue