SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: dunkers on January 08, 2020, 11:32:52 pm

Title: That thing, there, what is it?
Post by: dunkers on January 08, 2020, 11:32:52 pm
Checking all the goodness in 24.1, I realise I have no idea what most of the itsy-bitsy icons or symbols mean that appear in the various margins (edit window, toolbars, etc). A peruse of the help doesn't help - lots of icons and symbols entries, but none for this kind of stuff.

Is the info actually in the help file? If so, what's the magic word to get to it?
Title: Re: That thing, there, what is it?
Post by: LBCEi on January 09, 2020, 02:23:30 am
I've only noticed the question marks in the big find dialog as a significant change vs. the previous version.  Are there other things that have been added?  I didn't notice any mention of such things in the release notes.  What magic has the SE team added without telling us about it?
Title: Re: That thing, there, what is it?
Post by: dunkers on January 09, 2020, 03:03:43 am
I didn't know what most of them were in the previous version either! Or the one  before that. Just that right now I am going through the new features to find out what I've skipped over the years, and realised these things I see but ignore without thinking about them might be useful :)
Title: Re: That thing, there, what is it?
Post by: Dan on January 09, 2020, 10:42:39 am
Can you post a screen shot?

24.0 added Stackable References.  So you can get references to A, while searching through them get references to B, and then pop back to where you were the references to A and continue searching through those.  This does add a different type of marker to the margin, could it be that?
Title: Re: That thing, there, what is it?
Post by: dunkers on January 09, 2020, 11:28:33 am
Quote
So you can get references to A, while searching through them get references to B

Umm... how does one do that? I'm not sure it means what I think it means!

Quote
Can you post a screen shot?

Added two. The orange left arrows I know about from a previous post (assignment) but the down arrows? Ah! And the pointy things in the margin I couldn't quite grasp (since they are not all the same) are the assignments plus ordinary references. (Speaking of these, it would be cool if they appeared in the minimap but I haven't thought through this one beyond that.)

There are likely others. In fact there are others but I know about some. There are pages in the help where these are shown and even described, but there isn't any all-in-one table of anything that might occur. Where it's a specific tool window, like references, it might be reasonable to look in help for that tool window page (although, as noted, these ones don't make it that far), but in the edit window the icons could be the result of almost anything so it's very hard to know what you might have to search on to get even close.




Title: Re: That thing, there, what is it?
Post by: Dan on January 09, 2020, 11:35:34 am
The second one is definitely Stackable References.

Imagine you're looking for a reference to function A, and you go through several references.  Then you see a function called B, and need to get references for it.  You go through some number of references for B, and then you don't need to see anymore.  When you press the key to pop, you'll go back to where you pushed the initial reference for B, but the reference list will be in the same place it was when you were getting references for function A.  So if you press the key bound to find-next, it will find the next reference to A.
Title: Re: That thing, there, what is it?
Post by: dunkers on January 09, 2020, 12:21:11 pm
Ah! Thanks for the explanation. I knew about the stack but it was the way you described its use that makes it, er, useful :)
Title: Re: That thing, there, what is it?
Post by: Dan on January 09, 2020, 12:25:29 pm
That and the options to filter references (especially assignments, in my case) are very powerful.
Title: Re: That thing, there, what is it?
Post by: Dennis on January 13, 2020, 04:05:28 pm
The gray arrow down, is actually a ground connection symbol from electronics schematics notation.  It symbolizes that the symbol is static.

If you move your mouse over these icons, there will be a small pop-up explaining the icon.

Within the editor control, you can also do Ctrl+Plus and Ctrl+Minus to increase/decrease the font size, respectively, if you want to zoom in and see a larger version of the icon for clarity.  When there are multiple icons on the same line, they overlay with the highest priority icon being shifted up slightly, like a stack of cards.
Title: Re: That thing, there, what is it?
Post by: dunkers on January 13, 2020, 06:16:13 pm
Quote
It symbolizes that the symbol is static.

Brill, thanks. That one in particular had me puzzled.

Quote
If you move your mouse over these icons, there will be a small pop-up explaining the icon.

Kind of. You get a list of all the showing icons (I presume) but it doesn't tell you which icon means what. Indeed, it's not clear (until you mentioned it) that this is what it does show, since it's just some random comma-separated list. I would expect a single description to pop up for the specific icon the mouse is over, hence why I hadn't previously associated the right icon with the right description.

But now I know, thank you :)
Title: Re: That thing, there, what is it?
Post by: dunkers on January 13, 2020, 06:21:25 pm
Quote
But now I know

Well, I thought I did! But consider the attached screenshot - isn't the left-arrow meant to be assignment?
Title: Re: That thing, there, what is it?
Post by: Dennis on January 13, 2020, 06:25:34 pm
There was a bug in the code that assembled the mouse-over information for the icon overlays.  Not hot-fixable, so it will be fixed in the next major release after 24.0.1.

https://community.slickedit.com/index.php/topic,17397.0.html
Title: Re: That thing, there, what is it?
Post by: dunkers on January 13, 2020, 06:52:07 pm
OK, thanks :)
Title: Re: That thing, there, what is it?
Post by: Dennis on January 13, 2020, 07:00:28 pm
BTW, I forgot to mention, the gutter icons in the editor control, while they do not show up on the mini-map, per-se, they do show on on scroll bar markup column (the vertical bar between the mini-map and the scroll bar) as tiny lines matching the highlight color for the item involved.
Title: Re: That thing, there, what is it?
Post by: dunkers on January 13, 2020, 10:54:37 pm
They don't seem to here. I don't seem to have any appreciable line between minimap and scrollbar, though - there is a bar on the left of the minimap (other side to the scrollbar). Could that be the markup bar? Still doesn't show anything but it's nice to know what these things are meant to be called :)
Title: Re: That thing, there, what is it?
Post by: Clark on January 14, 2020, 08:13:30 pm
The document overview bar (bar between minimap and vscroll-bar) doesn't show up unless the vertical scroll bar is displayed. If your file is too small, it won't show up.

This line is pretty fat because my sample file is very small (see big fat vertical line). I just set a bookmark on line 2.
Title: Re: That thing, there, what is it?
Post by: dunkers on January 14, 2020, 08:21:53 pm
Nope, don't have that.
Title: Re: That thing, there, what is it?
Post by: Dennis on January 14, 2020, 08:28:47 pm
It also does not show up if there isn't anything for the document overview to show.  (Bookmarks, search result markers, references, pushed bookmarks, breakpoints, for examples).
Title: Re: That thing, there, what is it?
Post by: dunkers on January 14, 2020, 08:42:13 pm
Ah! Yes, if I place a bookmark then it shows up for that file. But for references it doesn't, and if I force it by placing a bookmark the gutter shows but no reference.
Title: Re: That thing, there, what is it?
Post by: Dennis on January 14, 2020, 08:49:21 pm
It only shows up for References if you have the option (in Tools > Options > Editing > Context Tagging > References) to "Highlight references in editor".  Turn this option on, then do a references search, and you should see the references in the overview bar.
Title: Re: That thing, there, what is it?
Post by: dunkers on January 15, 2020, 02:02:39 am
Ah-hah! Yes, it does. Thanks :)

Although I note that it is the highlight that's being shown rather than the reference flag per se. Useful for the different colours per reference, though (although pastel on grey doesn't stand out too well for some combinations). Now I know where to look, and what for, it is much more useful :)