Hide folded lines in Sublime Text 3? - sublimetext

Is it possible to hide the folded lines in Sublime Text 3 when doing a filtering with the Filter Lines plugin? It would give a great benefit being able to edit multiple lines without using the mouse - otherwise I need to select individual lines with the mouse to avoid selecting the folded lines.
If it is not possible to avoid it in combination with Filter Lines can it then be globally disabled?
I do not want to show the yellow/folded lines when filtering:

Related

How to sort emails data using its color codes in emeditor

I have this little challenge.
I want to ask, how do i sort the emails using the color code (light green) as stated in this picture here
I have tried to remove the non emails by scrolling through, but i need a solution that can make it a one click through sorting.
I will appreciate your kind response.
Open the Replace dialog box and enter the following regex in the Find field:
^((.*#[^\.]*)|([^#]+))$\n
Change the radio button to Regular Expressions. This regex pattern finds any line without a dot after # or any line without a #. Note that you need the last line of the document to be empty as shown in line 7 of your document.
Since we are deleting those lines, the "Replace with" field is blank. Now click Replace All.

Is there a way to filter lines by charachter lenght in EmEditor

I would like to search in a big text file and keep only lines that are between 9 and 20 charachters.
Any help would be much appreciated.
Yes, click Use Regular Expressions and Match Whole String buttons on the Filter toolbar, and enter .{9,20} to the Filter drop-down list box.

Sublime behavior like in VS

How to do same behaving in Sublime Text as in Visual Studio, when using column selection
for example if there is a line break in a text, the cursor in Sublime go to beginning of a line
And this is behavior in Visual Studio desired behavior
Thanks
While you may want this functionality for other reasons, it seems like you are using it to adjust the indentation of code blocks. Fortunately, there is a much easier way of doing this. Select the text for which you want to change the indentation, then press Ctrl] to increase the indentation (move block right), or Ctrl[ to decrease indentation (move block left). You can also increase indentation by selecting the desired lines and hitting Tab, and using ShiftTab to decrease it. The one place I can think of where multiple selections would come in handy is if, for some reason, you need to indent/dedent by fewer spaces than are in your tab stop. For example, if I have some code that's indented 3 spaces, and I want to change it to 4 (using the Indent Using Spaces setting in the View -> Indentation menu), I would use a multiple selection to put a cursor on each line, then use Space or Backspace to adjust spacing appropriately.

NSTextView paragraph style of newline

I've been playing around with NSTextView and have applied some paragraph styles to certain lines. However, when I type enter and get a new line, the attributes that I applied to one line are bleeding into the next.
I want to be able to apply a paragraph style to one line and have the next line be formatted in the default way. You can see what I mean from the screenshots.
When I add some spacing between paragraphs via NSParagraphStyle, the same spacing applies to the newline, which makes the whole thing look pretty shotty. Basically, I am looking for a way to reset the paragraph style for an empty line.
I have tried [MyTextView resetTypingAttributes:theAttributes] to no avail, since you first have to start typing for the new attributes to apply. Just to be clear, the line below the text in the screenshot is the cursor, which is really far down there as a result of the paragraph spacing.
Screenshot:
It seems that you have to use setTypingAttributes on the textview.

Does TextMate have an easy way to indent 2 spaces for a HAML file?

I look around for the preferences in TextMate and there seems to be no method to set the indent to 2 spaces when we highlight some code and choose
Text -> Shift Right
Right now it is indenting 4 spaces but is there a way to make it 2?
It's on the bottom bar off the application towards the middle.
It'll say something like 'Soft Tabs: 4' if you click it you can change it to do 2 spaces for tabs.
Also you can edit multiple lines by holding Option and dragging your mouse along the spot in the lines. When you type, the text will be on all the lines you selected at that spot.

Resources