How to show location in Sublime Text file preview (right sidebar)? - sublimetext

When you open a file in sublime text it shows a small version of it on the right side where you can click and scroll. In sublime text 2 it always stayed highlighted on where you are in the file, but in 3 it no longer does. I am wondering how to get this feature back, and also what the correct name for this right side bar preview thing is.
This is what it looks like in 3
This is what it looks like in 2 and what I am going for. Notice how the top of the right side-bar is highlighted a lighter gray.

Just add this line to your user settings:
"always_show_minimap_viewport": true
Thanks #Rico for telling me it is called a minimap !!

Related

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.

Puzzled by Xcode search path editor

Double clicking the text field for a search path in Xcode 5 brings up what seems to be an editor but it contains no apparent way of saving what has been changed. See the screen shot.
It has a little pointy hat that isn't shown as well.
If I move the box towards or away from the text field it represents it disappears and the changes disappear too. What the hell is this and what am I doing wrong?
You don't have to explicitly save it. Just click the + button, enter a path, then click anywhere outside of the popover to close and save it.

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"

View is Clipping its Content error

I'm using Xcode 4.6. In a window I keep getting this "view is clipping its content" error and when I click on it, the XIB editor highlights a label. What is this error trying to tell me and how to I fix it?
First, clicking on the text "View is clipping..." will select the control that has the issue. it happens when you resize a text field too small for the inner text field cell to fit in. enlarging the control makes warning disappear. you can also select the inner cell and go to size inspector to see if there are options to make it smaller to match your desired overall size.
You have a carriage return / newline at the end of the text in your label. That empty line is part of the "content" which is larger than the "view". Get rid of your extra newline and you'll take care of this.
It's telling you that your constraints hasn't been set up correctly. You can resolve the by clicking on the view in question, then clicking on the small icon at the bottom and choose: "Reset to suggested constraints"
Or you could click on the little small orange (or red) arrow in your Document Outline (the list to the left of your view that shows all views), then click on Resolve Issue

iTerm2 - hide split pane title bars?

After recent update of iTerm2 the split panes look different:
This is how it looked before (some random image found on the Internet):
Is there a way to get the original look back or do I have to get used to it?
Edit: just to avoid confusion, what I'm concerned about are the "header" lines, the "(x) Default" thing. I'd like to have just a line there.
Edit 2: it's in this changelog:
- Add title bars to split panes that show the title. You can drag
panes by their titles, and there is a menu and a close button in it as
well.
Turn off prefs->appearance->show per-pane title bars with split panes.

Resources