Code::Blocks - How to show gutter/vertical right margin line in editor - codeblocks

How to show the vertical right margin line (usually 80 characters) in the editor window in Code::Blocks?

For the current Code::Blocks version (16.01):
Go to Toolbar -> Settings -> Editor
Under the list of categories (icons) on the left, select Margins and Caret
In the Right margin section, change Right margin hint to visible line
You can also change the color and column number
Click OK to save

Related

How would I disable the minimap in Xcode?

How do I get rid of the minimap in Xcode?
Updated for Xcode 13
Open a code file, such as *.swift, and press the second from the right button in the top right corner. Then click on Minimap:
In older versions of Xcode, this looked as follows:
in XCode 12.0.1
there are 3 ways to hide or show Minimap.
first, you can do it with the Adjust editor option (see the following image).
next way: check or uncheck Minimap from Editor(menu) -> Minimap. (like following image)
and the last way you can use ⌃⇧⌘M and show or hide Minimap.
Navigate to Adjust Editor Options (at the top right corner, to the left of the Add Editor Below button) and uncheck Minimap (or press ^⇧⌘M).
This is called minimap window which give you insight of where you're in part of whole storyboard/code. This feature was introduced in Xcode11 and is quite useful.
You can show/hide simply by using shortcut key as: cmd + shift + ctrl + M.
Alternatively, you can choose 'Adjust Editor Options' i.e multi-lined stacked icon present on top right of Xcode. Deselect Minimap from dropdown list to hide it and Select to show it.

How to make VSCode editor stop scrolling past bottom of a file?

In the VSCode editor when you pull the scroll bar down to the bottom of the file, all you see is a blank page, since the text has scrolled up past the top of the text editor window. This makes scrolling to the bottom difficult because you can't just pull the scroll bar quickly all the way down but have to carefully position the cursor so you can still see your code.
Very similar to How to make Visual Studio editor stop scrolling past bottom of a file?, but comments have pointed out that question/answer is for Visual Studio. This answer is for VSCode on the macOS and Windows.
The correct answer is seen here: https://stackoverflow.com/a/40588828/1189470
There is a configuration option provided in VSCode for the functionality you specified. To enable it, go to File -> Preferences -> user settings
On the right side of the editor in settings.json paste the below line at the bottom (before closing bracket), save and close.
"editor.scrollBeyondLastLine": false
This will prevent the editor from scrolling beyond the last line.
This is now exposed as a simple checkbox labeled "Editor: Scroll Beyond Last Line" in File/Apple -> Preferences.
If just for readability you would like some space at the bottom of the file - a configurable amount - try this setting as of v1.43:
editor.padding.bottom in pixels
Editor> Padding: Bottom
Controls the amount of space between the bottom edge of the editor and
the last line.
and/or
editor.padding.top // but this isn't sticky in the sense that you can scroll right past the padding top and it is gone. It doesn't stay.

Microsoft Word Highlighting Text White

For some reason, whenever I create a Text Box and start typing, the background text is highlighted white and I can't make it transparent. This picture should explain everything:
I want to remove the highlighting so the gradient in the background shows through. I used to do things like this a lot, but for some reason Word won't let me now. Any suggestions?
I am on Word 2011 Mac
Got some clues here and finally found a solution for MSWord for Mac version 16.9:
Select the text you want to fix
Select "Design" Tab
Click "Page Borders"
Click the "Shading" Tab
Select Apply to "Text"
[Fill] is showing "No Color". Open the selection and re-select "No Color"
Hit "OK"
Worked for me. It is obviously a bug in Word.
Right-click the text box that you want to make invisible.
If you want to change multiple text boxes, click the first text box or shape, and then press and hold SHIFT while you click the other text boxes.
On the shortcut menu, click Format Text Box.
On the Colors and Lines tab, in the Fill section, click the arrow next to Color, and then click No Color.
On the Colors and Lines tab, in the Line section, click the arrow next to Color, and then click No Color.
Click OK. Your textbox's background is now invisible...
It seems the actual text highlight is your problem, so try:
Go into Borders and Shading, apply it to text, and set it to clear. Had me confused because I've never had to do this before.
As seen here.
I also searched around and had trouble finding this.
In Word for Mac 2011
Highlight the text
Click tables in the ribbon
Find the shading icon (looks like a paint bucket)
Click the down arrow next to the bucket and select No Fill
Change the text format from anything apart from Normal text.(important)
Solution 1
Select the Text box and go to the "format" tab,
modify the outline and fill options
if this isn't enough
Solution 2
select the Text box and right click for options
select the last option "format shape"

Show 80-character margin line in TextMate

Is it possible to display a right-margin line at 80 characters in TextMate? (i.e. the right-margin line in eclipse, gedit, etc.) If so, how can I configure that?
Figured it out:
In the View menu, uncheck 'Soft Wrap'. Then, go to View -> Wrap Column -> Other... and select the column at 80 chars in your editor window.
This will show the line at 80 characters, but won't force wrapping at 80 chars. (Turning 'Soft Wrap' back on will force wrapping.)
What about Visual Ornaments/Show right margin indicator in Preferences?
For TextMate 2 it looks like this has moved to View -> Show Wrap Column.
So the column can be set at View -> Wrap Column, then shown/hidden using View -> Show/Hide Wrap Column.

Visual Studio 2008: Change the font size of line number

Is there any way to hack visual studio so that it displays the line numbers in smaller font size like the way Notepad++ does? I'm using Consolas at size 12 and the line numbers just look so ugly.
Thanks.
Tools > Options... > Environment Fonts and Colors > Display Items > Line Numbers
You should be able to mess with fonts and sizes there.
EDIT for the people whose hands need to be held:
Follow this click path after you open Visual Studio 2008 (most likely by double-clicking on its icon):
Tools > Options... > Environment Fonts and Colors
"Tools" is in the menu bar at the top of the screen, and is most likely the fourth option from the right. Once you click on "Tools" a menu should come down, and you should click the "Options..." option, which is the very very last one. A new window will pop up with some junk on the right and some more things to click on on the left. Those things on the left determine what options you'll be setting on the right. Click the "Environment Fonts and Colors" option, which should be the second option.
Then, make sure "Show Settings For:" is set to "Text Editor". Click on "Line Numbers" in the listbox that says "Display Items". It is located underneath the "Font (bold type indicates fixed-width fonts):" dropdown box (that textbox with the arrow on the right side that when you click it, a whole bunch of options show up). It should be the 5th option in the "Display Items" box. After you do this, you can adjust your font, font size, color, whatever your little heart desires.
Once you're done, make sure to hit the "OK" button in the lower right corner of the window where you just made all your adjustments. Your new settings should be reflected!
:\
Even though Jason is correct in his directions, he even answered your question in a round about way.
all text editor font is the same
when you have changed one of the font properties.
So in short. No you can not adjust individual fonts for items in the actual text editor, though you can adjust almost everything else through the Option dialog.
Hope this helps.

Resources