Author Topic: Plugin: Symhighlights  (Read 1535 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Plugin: Symhighlights
« on: September 12, 2020, 12:11:54 AM »
Download the attached.

Slick command: plugin-install user_jporkkatc.symhighlights.ver.2.1.zip

Then run symtag_bind_keys to bind your favorite keys to the symtag functions.
« Last Edit: September 23, 2020, 07:55:27 PM by jporkkahtc »

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Plugin: Symhighlights
« Reply #1 on: September 12, 2020, 12:14:34 AM »
This includes a colorset hand selected to work reasonably well in both light and dark themes.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Plugin: Symhighlights
« Reply #2 on: September 12, 2020, 03:00:15 PM »
Fix so this plugin works on Unix (case sensitive file systems)

at5dapa1

  • Senior Community Member
  • Posts: 282
  • Hero Points: 24
Re: Plugin: Symhighlights
« Reply #3 on: September 22, 2020, 12:38:50 PM »
1. Select something and toggle highlight (symtag-toggle-sym-highlight)
2. Open highlights dialog (symtag-open-sym-highlights)
3. In the opened dialog press the red x to delete the item
4. I get the below crash, which points to "s_modtimeSymHighlight2 = p_LastModified + 1" line.
If I modify it to "s_modtimeSymHighlight2 = _mdi.p_child.p_LastModified + 1" works fine. Can you confirm and if true, is there an explanantion why it's crashing?
Thanks.

Code: [Select]
Stack trace written to file: C:\Users\...\AppData\Local\Temp\vsstack.
 This property or method is not allowed on this object
user_jporkkatc.symhighlights/SymHighlightMain.ex 100 user_jporkkatc.symhighlights/SymHighlightMain:clearSearchString()   p_window_id: 538   p_object: OI_IMAGE   p_name: ctl_del_button
user_jporkkatc.symhighlights/SymHighlightMain.ex 613 sym_remove_symtag(p_LastModified)   p_window_id: 538   p_object: OI_IMAGE   p_name: ctl_del_button
user_jporkkatc.symhighlights/SymHighlightApi.ex 972 symTagDlgRemoveSymTag(p_LastModified)   p_window_id: 538   p_object: OI_IMAGE   p_name: ctl_del_button
user_jporkkatc.symhighlights/HighlightDialog.ex 1652 Highlights_form.ctl_del_button.lbutton_up()   p_window_id: 538   p_object: OI_IMAGE   p_name: ctl_del_button
picture.ex 2516 _ul2_picture.lbutton_down(0)   p_window_id: 16   p_object: OI_EDITOR   p_name:
picture.ex 3000 _ul2_imageb.lbutton_down(0)   p_window_id: 16   p_object: OI_EDITOR   p_name:

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Plugin: Symhighlights
« Reply #4 on: September 23, 2020, 07:08:49 PM »
Thanks!
I've fixed this - attached.

at5dapa1

  • Senior Community Member
  • Posts: 282
  • Hero Points: 24
Re: Plugin: Symhighlights
« Reply #5 on: September 23, 2020, 07:24:52 PM »
Thanks!