Recent Posts

Pages: [1] 2 3 ... 10
1
SlickEdit® / Re: SlickEdit accidentally crashed after installing the hotfix3.
« Last post by bsun on March 10, 2025, 11:24:18 PM »
Sent.  :)
2
SlickEdit® / Re: SlickEdit accidentally crashed after installing the hotfix3.
« Last post by Clark on March 10, 2025, 01:40:49 PM »
email the attachment to support
3
SlickEdit® / SlickEdit accidentally crashed after installing the hotfix3.
« Last post by bsun on March 10, 2025, 07:18:54 AM »
Hi,
After installing the hotfix3, my SlickEdit accidentally crashed once with a "Slick-C Error" (capture attached).
I want to upload a capture, but it seems that I can't upload the attachment now.
4
SlickEdit® / Re: C and C++ files in the project
« Last post by Clark on March 07, 2025, 02:48:28 PM »
You'll need to add a Rule for .c files which has different options. I manually added the rule to the .vpj file. I don't think this can be done through the GUI. Attached is a sample GNU C/C++ project where I've added a rule for .c files so I can use a different compiler (gcc instead of g++). You can change the options specified too. See gnucpp1.vpj.
5
SlickEdit® / C and C++ files in the project
« Last post by Bwana The Bigg on March 07, 2025, 09:35:25 AM »
Hello!
I have a project, some of the source files are in C, some in C++. For compilation, I set "CC" in the "Build:GNU C Options:Compiler" field and C files are compiled with gcc, and C++ files with g++. However, C files should be compiled with one set of options, and C++ files with others. Can I somehow set separate options for C and C++ files?
6
SlickEdit® / Re: too much spam
« Last post by Clark on March 07, 2025, 02:09:09 AM »
"Report to moderator" isn't working. Pretty much all the spam is under General programming. Made that forum read-only
7
SlickEdit® / Re: Adding or removing menus and forms exclusively via config files
« Last post by Graeme on March 06, 2025, 10:23:57 PM »
Sorry for the late reply.  I suspect modifying xml files is not a good idea.  You might need to package your stuff as a hotfix.  If you have to cope with multiple versions of slickedit it can get even more complicated.  I think you can detect the version of slick at runtime but maybe not at compile time, so you could write some slick code that loaded particular files according to the runtime version.

A long time ago I posted some macros that replaced some of the slick built in menus with extra things but the user had to manually set up a #define to indicate the version of slickedit.

Code: [Select]
#define SLICK_V13


#ifdef SLICK_V12

_menu _projecttb_folder_menu {
   submenu "&More","","","" {
      "Add &new file","projecttb-add-new-file-here","","","Add new file to project";
      "Add new item from &template","projecttb-add-template-item-here","","","Add item to project from template";
      "New &folder","projecttb-add-folder-here","","","Create new folder here";
      "&Explore","projecttb-explore-from-here","","","Shell explorer";
      "&Open file","projecttb-open-from-here","","","Open file to edit";
      "-","","","","";
      "She&ll from here","projecttb_shell_from_here","","","Open OS shell";
      "Folder &MRU","projecttb-show-folder-MRU","","","";
      "Add to folder MR&U","projecttb-add-to-folder-MRU","","","";
      "Change &directory to here","projecttb-cd-to-here","","","";
      "-","","","","";
      "Copy pathname","projecttb-copy-path","","","";
      "Copy file pathname","projecttb-copy-filename-full-path","","","";
      "-","","","","";
      "&Project properties","projecttb-project-properties","","","";
   }
   submenu "&Add","","Displays Add To Folder menu","ncw" {
      "New File...","projecttbAddNewFile","","","";
      "Files...","projecttbAddFiles","","","";
      "Tree...","projecttbAddTree","","","";
      "Wildcard...","projecttbAddWildcard","","","";
      "Folder...","projecttbAddFolder","","","";
   }
   "-","","","","";
   "Move &Up","projecttbMoveUp","","","";
   "Move &Down","projecttbMoveDown","","","";
   "Cut\tCtrl+X","projecttbCut","","","";
   "Copy\tCtrl+C","projecttbCopy","","","";
   "Paste\tCtrl+V","projecttbPaste","","","";
   "Remove\tDel","projecttbRemove","","","";
   "-","","","","";
   "Folder &Properties...","projecttbFolderProperties","","","";
}

8
SlickEdit® / Re: too much spam
« Last post by LBCEi on March 06, 2025, 09:57:09 PM »
Is the "Report to moderator" feature not working?  I'm pretty sure I reported most of the posts listed by Graeme using that feature.
10
SlickEdit® / Re: too much spam
« Last post by Clark on March 06, 2025, 01:31:19 PM »
Please point out spam messages so we can remove them. Thanks
Pages: [1] 2 3 ... 10