The gui-open command makes slick think it needs to save the configuration because it has to load a picture. This means I get prompted to save the config quite often when I close slick.
If I load the picture at startup the problem goes away.
[By the way, what is the difference between single quotes and double quotes for strings.]
typeless my_config_modify = _config_modify;
_find_or_add_picture('C:\Program Files\SlickEdit\Pro-23-0-0\bitmaps\dialogs/fileBrowseOpenWin.png',0);
if ( my_config_modify == 0 ) {
_config_modify = 0;
}
_config_modify_flags: CONFIGURATION MODIFICATION FLAGS CHANGED!
Slick-C STACK TRACE ******************************
Created on 10/27/2018 at 13:8:36 (860 ms)
SlickEdit Pro Version 23.0.0.8 Copyright 1988-2018 SlickEdit Inc.
Edit module and type "st -f <offset>" to get the
run-time error position
main.ex 1969 _config_modify_flags(256,-1) p_window_id: 5 p_object: OI_FORM p_name:
main.ex 19752 _set_emulation_key_bindings(0,0) p_window_id: 5 p_object: OI_FORM p_name:
main.ex 19493 _plugin_eventtab_apply_all_bindings() p_window_id: 5 p_object: OI_FORM p_name:
main.ex 7352 _firstinit() p_window_id: 5 p_object: OI_FORM p_name:
_config_modify_flags: CONFIGURATION MODIFICATION FLAGS CHANGED!
Slick-C STACK TRACE ******************************
Created on 10/27/2018 at 13:8:47 (384 ms)
SlickEdit Pro Version 23.0.0.8 Copyright 1988-2018 SlickEdit Inc.
Edit module and type "st -f <offset>" to get the
run-time error position
main.ex 1969 _config_modify_flags(48,-1) p_window_id: 480 p_object: OI_RADIO_BUTTON p_name: _ctl_browse
stdprocs.ex 14760 _update_picture(33480,C:\Program Files\SlickEdit\Pro-23-0-0\bitmaps\dialogs/fileBrowseOpenWin.png,0) p_window_id: 480 p_object: OI_RADIO_BUTTON p_name: _ctl_browse
stdprocs.ex 14867 _find_or_add_picture(C:\Program Files\SlickEdit\Pro-23-0-0\bitmaps\dialogs/fileBrowseOpenWin.png,0) p_window_id: 480 p_object: OI_RADIO_BUTTON p_name: _ctl_browse
guiopen.ex 3189 guiopen:adjustOpenPicture() p_window_id: 480 p_object: OI_RADIO_BUTTON p_name: _ctl_browse
guiopen.ex 3088 _open_style_prompt_form._ctl_browse.lbutton_up() p_window_id: 480 p_object: OI_RADIO_BUTTON p_name: _ctl_browse
guiopen.ex 3026 _open_style_prompt_form._ctl_ok.on_create() p_window_id: 480 p_object: OI_RADIO_BUTTON p_name: _ctl_browse
dlgeditv.ex 6413 show(-modal _open_style_prompt_form) p_window_id: 149 p_object: OI_EDITOR p_name:
guiopen.ex 72 gui_open() p_window_id: 149 p_object: OI_EDITOR p_name:
stdcmds.ex 8486 command_execute() p_window_id: 149 p_object: OI_EDITOR p_name:
stdcmds.ex 8801 split_insert_line() p_window_id: 4 p_object: OI_TEXT_BOX p_name:
complete.ex 14633 ArgumentCompletionDoKey() p_window_id: 4 p_object: OI_TEXT_BOX p_name: