Author Topic: SymHighlights GUI  (Read 3343 times)

stsimmer

  • Junior Community Member
  • Posts: 4
  • Hero Points: 0
Re: SymHighlights GUI
« Reply #15 on: November 01, 2017, 10:35:10 am »
Thank you very much, what about installation instruction?

jporkkahtc

  • Senior Community Member
  • Posts: 1425
  • Hero Points: 112
  • Text
Re: SymHighlights GUI
« Reply #16 on: November 01, 2017, 07:45:09 pm »
In the readme.txt
The readme tells you to put these macro files in your CONFIG directory.
The CONFIG dir is something like C:\Users\joe\Documents\Slickedit\22.0.0.0\

I like to put my macros in a different location.
In CONFIG\user.cfg.xml I have added:
Code: [Select]
<misc.environment n="misc.environment" version="1" configs="win">
<p n="VSLICKMACROS" v="%VSLICKMACROS%;%SLICKEDITCONFIG%macros;%VSLICKPATH%;%SLICKEDITCONFIG%macros\Highlight"/>
<p n="VSLICKPATH" v="%VSLICKPATH%;%SLICKEDITCONFIG%macros;%SLICKEDITCONFIG%macros\Highlight"/>
</misc.environment>

This lets me put my macros into these two folders as well:
Code: [Select]
C:\Users\joe\Documents\Slickedit\macros
C:\Users\joe\Documents\Slickedit\macros\Highlight


There doesn't seem to be a UI in Slickedit to create this entry in user.cfg.xml, but it does preserve once it is there. (Restart slick after adding it).

Anyways, once you unpack the macros into CONFIG or Highlight as above, from the slick command line just run
Code: [Select]
symtagload

To be extra clear, when you have done it properly you will have either

Code: [Select]
C:\Users\joe\Documents\Slickedit\22.0.0.0\symtagload.e
or
Code: [Select]
C:\Users\joe\Documents\Slickedit\macros\Highlight\symtagload.e

stsimmer

  • Junior Community Member
  • Posts: 4
  • Hero Points: 0
Re: SymHighlights GUI
« Reply #17 on: November 02, 2017, 05:56:07 am »
I am sorry about incorrect question…  I need "how to..." for linux and VS22…
Currently i put a files to the /opt/slickedit-pro2017/macros/HighlightsDlg/ … (default installation directory for slick edit 22)
(HighlightsDlg created by me, and all files from zip under this directory...)
After this, I am trying to load  macro from: Macro->load module..
and nothing...

jporkkahtc

  • Senior Community Member
  • Posts: 1425
  • Hero Points: 112
  • Text
Re: SymHighlights GUI
« Reply #18 on: November 02, 2017, 03:40:46 pm »
Your config directory would be something like ~/.slickedit/22.0.0
User your user account, not the slickedit installation folder.

You should see a file named user.cfg.xml in the same directory.