Author Topic: Find and Replace tool window became invisible  (Read 2195 times)

adipreneo

  • Junior Community Member
  • Posts: 6
  • Hero Points: 0
Find and Replace tool window became invisible
« on: May 30, 2014, 03:40:23 pm »
Using SlickEdit 2012 (v17.0.2.0 64-bit).

All of sudden the "Find and Replace" tool window became invisible.  If I press CTRL+F, although the tool window cannot be seen, I can still search for keywords by "blind" typing and the search results will still be displayed on the search window.  Tried go to Option to set the tool window "Visible", but didn't work.  And if I go back to Option and check, the "Visible" box becomes unchecked again.

Any ideas, fellow SlickEditors?

jimlangrunner

  • Senior Community Member
  • Posts: 354
  • Hero Points: 30
  • Jim Lang - always a student.
Re: Find and Replace tool window became invisible
« Reply #1 on: May 30, 2014, 07:19:29 pm »
The first thing I'd try is a clean config.  Create a blank directory & start w/
Code: [Select]
VS -sc c:\fooif it's a config thing, that will definitely get you going.

adipreneo

  • Junior Community Member
  • Posts: 6
  • Hero Points: 0
Re: Find and Replace tool window became invisible
« Reply #2 on: May 31, 2014, 04:03:58 am »
Okay so with that it works.  But I will not have all the customized configurations on the clean config

Is there a way to diff the clean config and my current one and tell where things could go wrong?

The first thing I'd try is a clean config.  Create a blank directory & start w/
Code: [Select]
VS -sc c:\fooif it's a config thing, that will definitely get you going.

Graeme

  • Senior Community Member
  • Posts: 1978
  • Hero Points: 226
Re: Find and Replace tool window became invisible
« Reply #3 on: May 31, 2014, 06:50:57 am »
Well try this.  Make a backup of your original config folder.  Run slick with your original config folder and use tools -> options -> export/import to export all of your settings to a zip file.

Then, close slick.  Delete vslick.sta in your original config folder.  Run slick from your original config folder.  Your settings should all still be there and hopefully the find tool window works normally.  If not, you can import your settings to your new config.

Another possibility, Slick stores info (size and location) about the find replace tool window in a file called vrestore.slk  -  so with slick closed, open vrestore.slk from your original config in another editor and look for a line something like this
@xy _tbfind_form:11265 2820 6000 8835
- try deleting the line.


adipreneo

  • Junior Community Member
  • Posts: 6
  • Hero Points: 0
Re: Find and Replace tool window became invisible
« Reply #4 on: May 31, 2014, 08:32:47 am »

Ya da man Graeme!!!!  :D :D :D

So deleting vslick.sta didn't help, but deleting @xy _tbfind_form:11265 2820 6000 8835  did work!

It had the first two numbers as zeros like this: @xy _tbfind_form:0 0 6000 8835 and became some non-zero numbers after it got regenerated.

Thanks a ton!


Well try this.  Make a backup of your original config folder.  Run slick with your original config folder and use tools -> options -> export/import to export all of your settings to a zip file.

Then, close slick.  Delete vslick.sta in your original config folder.  Run slick from your original config folder.  Your settings should all still be there and hopefully the find tool window works normally.  If not, you can import your settings to your new config.

Another possibility, Slick stores info (size and location) about the find replace tool window in a file called vrestore.slk  -  so with slick closed, open vrestore.slk from your original config in another editor and look for a line something like this
@xy _tbfind_form:11265 2820 6000 8835
- try deleting the line.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3941
  • Hero Points: 256
Re: Find and Replace tool window became invisible
« Reply #5 on: June 01, 2014, 10:48:28 pm »
Be careful if you remove lines in "vrestore.slk" since if you don't adjust the line counts, the vrestore.slk file will be corrupt. It's better to modify the line or just just delete the vrestore.slk file. I sometimes delete entire sections but I have a bit more understanding of the format and always backup the file in case I make a mistake.

Graeme

  • Senior Community Member
  • Posts: 1978
  • Hero Points: 226
Re: Find and Replace tool window became invisible
« Reply #6 on: June 02, 2014, 12:23:04 am »
Wow.  Thanks Clark.  It's great that slick team post in these forums.

adipreneo  - if you backed up your configuration folder you could restore vrestore.slk from there if you want to keep your command line history and a few other things.

adipreneo

  • Junior Community Member
  • Posts: 6
  • Hero Points: 0
Re: Find and Replace tool window became invisible
« Reply #7 on: June 03, 2014, 01:05:03 am »
Thanks guys.  These are all good inputs.  Hope it also helps folks who are facing similar issues.