SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: TKasparek on February 05, 2015, 03:36:48 pm

Title: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: TKasparek on February 05, 2015, 03:36:48 pm
I've changed jobs recently and I've been making a lot of changes to a new formatting profile. After making some edits, I exit back to my code to try them out and pop my way out a few functions. Many times now I've popped into a sample code file that was used to show the formatting changes. I'm using a custom format profile for C/C++.

Also, I can't seem to find any relevant information on how to use the "Symbol Uses/Calling Tree" feature.

Regards,
Tom
Title: Re: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: patrick on February 05, 2015, 03:45:31 pm
That's an odd one.  I haven't gotten it to happen yet.  While we don't do any push-refs in the formatting dialog, there is some code for saving and restoring some parts of the bookmark state, so maybe something is going wrong there.

I'll take a closer look a bit later today.  Thanks for the report.
Title: Re: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: TKasparek on April 22, 2016, 02:51:42 pm
Going to bring this up again as it's consistent for me still with latest version.
Title: Re: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: jporkkahtc on April 22, 2016, 10:50:12 pm
I reproed this easily.


Tools -> Beautify -> Edit current profile.


Extra weird though: The Untitled buffer isn't a normal one.
It disappears when you open the "files" dialog.


Also, the extra bookmark doesn't appear in the bookmark stack.


I've also seen a variation of this, though I don't have a repro: A "Search results" will sometimes show up in the bookmark stack as I pop bookmarks.
Happens once in awhile, I don't have repro steps.
I very rarely use "Output to editor window" - so I don't think that is involved.



Title: Re: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: patrick on April 25, 2016, 09:07:29 pm
Yes, back when I put in changes to try to guard against this, I could never reproduce it, so I put in some guards that apparently didn't work, or weren't the location of the problem.

On a hunch, I imported one of  jporkkahtc's configurations, and I can reproduce it easily with that configuration, so it shouldn't take me too long to find the problem.
Title: Re: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: jporkkahtc on June 22, 2016, 09:56:20 pm
Found it:
Tools > Options > Editing > Bookmarks : Top/Bottom buffer pushes bookmark.


When this is enabled Slick will push bookmarks for the buffers in Beautifier and Search Results, Preview, Output, RegEx, Calculator, others ??

Title: Re: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: patrick on August 01, 2016, 05:49:40 pm
This is fixed in the next beta drop. 
Title: Re: x64 2014: editing formatting profile pushes the sample code into bookmarks
Post by: Clark on September 08, 2016, 07:24:33 pm
Looks like the Top/Bottom buffer pushes bookmark feature wasn't done right in the beginning. If this continues to be problematic, this feature will have to be pulled.