Author Topic: Highlight matching blocks not working  (Read 2530 times)

jkwuc89

  • Senior Community Member
  • Posts: 200
  • Hero Points: 6
Highlight matching blocks not working
« on: February 11, 2016, 05:19:34 pm »
I am using SlickEdit Pro 2015 v20.0.1.3 with the latest hotfix applied on Windows 7.
Inside my configuration, I have set the following:
Under Appearance -> Colors -> Highlighting -> Block Matching, Inherit under Background colors is turned on and the foreground color is set to a bright color to make it obvious that it's working.
Under Editing -> General, Highlight matching blocks is turned on.

Inside any file I open, moving the cursor to a block character does not highlight the block characters. The block characters are getting detected properly because find-matching-paren is working.

Are there another other options I should check?

jkwuc89

  • Senior Community Member
  • Posts: 200
  • Hero Points: 6
Re: Highlight matching blocks not working
« Reply #1 on: February 11, 2016, 05:29:08 pm »
It appears that toggling / tweaking the configuration options described in my post above has "magically" re-enabled highlight matching blocks.

_fragment_

  • Community Member
  • Posts: 49
  • Hero Points: 1
Re: Highlight matching blocks not working
« Reply #2 on: February 16, 2016, 10:05:35 pm »
Having the same problem today after upgrading to 20.0.1.3 yesterday. Yesterday, it was all working fine. Today, block matching highlight does not work, and the Defs tab on the left won't update until I select another tab and then select Defs again. Again, this was all working yesterday. WTH?

Dave

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4010
  • Hero Points: 265
Re: Highlight matching blocks not working
« Reply #3 on: February 16, 2016, 11:25:21 pm »
Try exiting and restarting.

_fragment_

  • Community Member
  • Posts: 49
  • Hero Points: 1
Re: Highlight matching blocks not working
« Reply #4 on: February 16, 2016, 11:30:52 pm »
Did an exit out of SlickEdit and restarted. Same result. You didn't mean exit Windows?

Dave

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4010
  • Hero Points: 265
Re: Highlight matching blocks not working
« Reply #5 on: February 16, 2016, 11:44:16 pm »
No. I thought maybe a timer died.

_fragment_

  • Community Member
  • Posts: 49
  • Hero Points: 1
Re: Highlight matching blocks not working
« Reply #6 on: February 17, 2016, 12:36:52 am »
Auto-complete of variables and functions, etc also appears to be not working.

Dave

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4010
  • Hero Points: 265
Re: Highlight matching blocks not working
« Reply #7 on: February 17, 2016, 01:40:31 am »
Still sounds like the main timer is dead. A restart should have done the trick.

Exit SlickEdit and try deleting vslick.sta (Windows) or vslick.stu (Unix) in the config directory (not install directory). It will get recreated when you start SlickEdit.
« Last Edit: February 17, 2016, 11:57:38 am by Clark »

_fragment_

  • Community Member
  • Posts: 49
  • Hero Points: 1
Re: Highlight matching blocks not working
« Reply #8 on: February 17, 2016, 04:58:38 pm »
Deleted that file. Same situation. This is annoying enough that I'm seriously thinking of switching back to version 19.

Dave

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4010
  • Hero Points: 265
Re: Highlight matching blocks not working
« Reply #9 on: February 17, 2016, 05:18:37 pm »
File a support case. Hoped I could help.

_fragment_

  • Community Member
  • Posts: 49
  • Hero Points: 1
Re: Highlight matching blocks not working
« Reply #10 on: February 18, 2016, 10:59:54 pm »
Opened support case. First suggestion:

--Exit SlickEdit.
--In X:\My Documents\My SlickEdit Config\20.0.1\
    --DELETE your vslick.sta
    --DELETE your vrestore.slk
    --DELETE your perfile.xml
--In the location of the SlickEdit Workspace/Project files that you have open (.vpw/.vpj)
 --DELETE the .vpwhist file.
 --DELETE the .vtg file.
--Restart SlickEdit.

I couldn't do the last 2 items, as I am working on embedded micro-controller projects and I don't have a SlickEdit workspace or project - never needed one before. I tried the first 3 items and it did not help.

Next suggestion:

Does it run properly if you run it in a test configuration on the local machine like so?
"C:\Program Files\SlickEdit Pro 20.0.1\win\vs.exe" -sc c:\temp\test_config\

This works, but I lost my custom color scheme and brief emulation.

Awaiting the next suggestion.

Dave

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2241
  • Hero Points: 282
Re: Highlight matching blocks not working
« Reply #11 on: February 19, 2016, 06:23:31 pm »
Is there evidence of a Slick-C stack in X:\My Documents\My SlickEdit Config\20.0.1\logs\stack.log ?

Here's the sledgehammer of a solution:  Export your color scheme and emulation settings using Tools > Options > Export/Import Options, then rename your "X:\My Documents\My SlickEdit Config" configuration directory to "My Broken SlickEdit Config", then start the editor and re-import your options.  Then zip it up and send "My Broken SlickEdit Config" to support or upload it per their instructions.

_fragment_

  • Community Member
  • Posts: 49
  • Hero Points: 1
Re: Highlight matching blocks not working
« Reply #12 on: February 19, 2016, 06:30:11 pm »
There's no logs dir in 20.0.1.

Dave

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2241
  • Hero Points: 282
Re: Highlight matching blocks not working
« Reply #13 on: February 19, 2016, 06:36:13 pm »
Try this:

Macro > Set Macro Variable... > _use_timers

The value should be 1, if it is set to 0, then that will explain your problem.  However, it should have been reset when you restarted the editor.

If that isn't the problem, also check "def_use_timers", which is a setting we have strictly for debugging purposes.
« Last Edit: February 19, 2016, 06:38:37 pm by Dennis »

_fragment_

  • Community Member
  • Posts: 49
  • Hero Points: 1
Re: Highlight matching blocks not working
« Reply #14 on: February 19, 2016, 06:41:49 pm »
_use_timers was 0. Changing it to 1 fixed everything.

Dave