I used to have the margin highlighted below. How can I display it?
If by showing the margin, you mean showing the vertical colored annotations on the scroll bar, they can be enabled by going into Tools > Options > Text Editor > C# > Scroll Bars and then enabling required annotations in the Display group
If you meant highlighting the background of the annotation area, then you must select Use map mode for vertical scroll bar under the Behavior group and set the desired width from the Source overview drop-down
What you need is to set "Map Mode" for the vertical scroll bar. This is a language-dependent, text-editor setting: for C#, select the "Options" command from the "Tools" menu; open the "Text Editor" and "C#" nodes of the tree in the left-hand pane and select "Scroll Bars." Then, in the right-hand pane, select the "Use map mode for vertical scroll bar" radio-button (there are several options as to how much detail you want to show in the scroll bar; the image you posted suggests using the "Off" option from the "Source overview" drop-down combo).
Here's a screen-shot:
The process is similar for other supported languages, such as Basic, F# and 'C/C++'. Also, be sure to actually enable the vertical scroll bar (check-box near the top of the same pane).
Related
Does anyone know how to make this tab appear on your screen? (It's an overall view of the code). I saw someone use it somewhere and took my attention:
That is the vertical scroll bar in so-called "Map Mode". To select this, issue the "Options" command from the "Tools" menu and navigate, in the tree in the left-hand pane, to the "Text Editor" ... "All Languages" ... "Scroll Bars" node and then, in the right-hand pane, select the "Use map mode for vertical scroll bar" radio-button:
Alternatively, you can go directly to that options page by right-clicking in the vertical scroll bar and selecting the "Scroll Bar Options..." command.
What is the name of the narrow bar in vs environment showing all line of document?
(as you can see in pic)
And how can i hide it?
The name is: "Map mode for vertical scroll bar"
Mode for vertical scroll bar is at: 'Tools' Menu -> Options -> Text Editor -> All Languages -> Scroll Bars -> Behavior
To hide the Map, select: "Use bar mode for scroll bar"
Microsoft Docs
I just found if
options > Text Editor > All languages > Scroll Bars
I am looking for a way to zoom only one tab.
When I press Ctrl++ to zoom my Firefox tab, all other tabs are also changed, creating a problem.
I have checked all the menu setting and nothing is available for this setting, at least not from the menu.
In Firefox address bar type: about:config
Press the box "I accept the risk" (or similar button)
In the Search Box type: zoom.siteSpecific
If you want Zoom to only effect one tab then set False under Value.
If you want Zoom to effect all tabs then set True under Value
You can change the value by double-clicking the line or right-click and select Toggle.
Note: You can restore zoom by selecting CTRL+0 (zero) or on the menu select View --> Zoom --> Reset.
I used to use this feature to see the number of occurances and position of a type or member. It supposed to work when I click a member and it's highlighted in grey, and all the occurrences drawn along the scroll bar as grey dots, representing the number of occurrences and their positions. Now I miss this helpful feature, and the only way to use it, is to copy the member name and paste it in the Find window. How to bring it back to Visual Studio?
To change the scroll bar mode, right click on the scroll bar itself and choose Scroll Bar Options from the context menu. You could also locate the scroll bar settings by typing “scroll bar” in the Quick Launch, or by navigating to Tools | Options | Text Editor | All Languages | Scroll Bars from the menu
Is it possible to change number of tabs and tabs name in simple UI Tab Control? How to do it? (user interface diagram)
I'm using EA 11.
No. Tab 1 | Tab 2 | Tab 3 is part of the element's image and you can't change them. There is a workaround which works visually, but won't help if you're looking to generate code out of your models.
Create a Text element (in the Common toolbox), and give it the name of your GUI's first tab.
Set a different default fill and text color for the Text element (Right-click and select Appearence - Default Appearance).
Pick the Fill and Border Color for the Text element that best matches the Tab Control's foreground, either in the diagram toolbar or the Text element's context menu.
Move and resize the Text element to cover Tab 1.
Repeat as necessary for the other tabs, using the appropriate color.
The Text elements are local to the diagram they're in and are not shown in the project browser (they are diagram objects but not proper model elements), but they move with the Tab Control so it works visually.
By making several copies of the Tab Control and varying which Text element has the foreground color, you can use this technique to show the different panes.
You can change number of tabs and selected tab this way (at least in EA 13):
Open Properties of the Tab Control;
In "General" select "Wireframing" tab. You'll see "Tabs" property with a value "Tab1";
Select this "Tabs" property and click on "Notes" menu. An editor appears;
In this editor you can change number of names of tabs;
Close editor and for "Tabs" property choose selected Tab;