sublime text3 : how to make multiple selection from the FIND result? - sublimetext3

When i put the keyword into the find box, all the matched string will be highlighted but they are not selected. So only 1 match will be selected using the find button.
I want all the matched string to be multiple selected. How can i do this ?

Related

Search for a field followed by the specified character in Microsoft Word

I am trying to change format of all REF fields surrounded by square brackets, such as "[{REF ... \h \t}]". My approach is to search and select all the target fields and then apply format change command, for example Highlight.
A attempt search "[\d" Word delivers selected only the left part of the field, but if I search "\d]" then Word finds nothing.
Is there a way to do such search via GUI or VBA?
Thank you.

Can I select the some specific text from long string and perform action on selected text

You can check this screen short image Basically I want to applying different formats on my text, I just want to select a some text area from long string and apply like bold, underline or some other actions perform on selected text.
Here is a way to highlight text.
Spannable spannable = new SpannableString("A test message");
spannable.setSpan(new BackgroundColorSpan(Color.YELLOW), {start_index), {end_index}, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
textView.setText(spannable);
Here is a post that shows you how to make your text selectable and how to get the start and end index.
Get Selected Text from TextView
This is the reference to using spannable and you can use it to figure out the rest of your text changes to the string. There are many options available.
https://developer.android.com/reference/android/text/style/BackgroundColorSpan

How to add quote marks to string in Sublime?

In Sublime text editor, I have a text as below (taking notes for nodejs in markdown format)
In Nodejs, command-line arguments will be stored in the process object and in the process object there is a property called argv(argument vector) and arguments will be stored in the form of array
If I want to search all process words and add markdown back-ticks quotes(`) around them, How can I do this in sublime ?
If there are no places where the string "process" is in the middle of a word, such as "subprocess", I would do:
Press Ctrl+f to open search.
Enter process in the search field.
Press Alt+Enter to select all coincidences.
Edit accordingly.
If I wanted to check each coincidence to avoid adding the quote marks erroneously I would instead do:
Press Ctrl+h to open search and replace.
Enter process in the search field.
Enter `process` in the replace field.
Click Find to see the next coincidence.
Click Replace or Find as necessary.

How should i include space between name and number and make them in 2 columns in excel

I have tried different ways to include space between name and number in notepad++ excel etc. Please suggest me to sort out my problem to make 2 columns in excel.
I have a list of contacts like :
Name contact
abcd+1234
xyz+789
efgh+3456
I want that to be
Name Contact
abcd +1234
xyz +789
efgh +3456
The steps to do this in excel are:
Highlight the column containing the values
From the Data ribbon, select 'Text to columns'
Select the 'delimited' radio button and click 'next'
Uncheck 'Tab' and instead check the box for 'Other'
Within the text field for 'Other' type +
Click 'Finish'
Pictures of each step follow:
In Notepad++, just enable reuglar expressions in search box (after you hit Ctrl+F) and enter such regex: (.+)[+](.+) and in Replace paste: \1 + \2.

Text to Columns with a return seperation

I have a cell in Excel with 6 or so names in them, formatted as lastname,firstname, [line break]
lastname,firstname, [line break]
etc.
I need to be able to get these names into outlook as contacts, which only recognizes lastname,firstname; lastname,firstname; etc.
Is there a way to use text to columns to break out these names based upon the line break? Or is there some other way you can recommend to get the names email ready?
This isn't really a programming question, but there is a way, but it's kind of a lot of work.
Click on the cells (columns) you want to split apart and format.
Click on Data → Text to Columns
Make sure "Delimited" is selected.
In the Wizard, click "Next"
Click the "Space" checkbox
Click "Next"
Click "Finish"
Click on a cell of any empty column.
Type: =(
Click on the first cell with the Lastname,Firstname
Type: &";"&
Click on the next cell with Lastname,Firstname
Type: &";"&
Repeat steps 11 and 12 until you've finished
Type: )
Hit "Enter"
You should have your names formatted as:
Lastname,Firstname;Lastname,Firstname
It's a lot of work, but it does what you requested.
Figured it out. You can do a find and replace on the carriage return using control+J as what you're searching for, and ";" to replace it. Then do another find and replace on ", " and replace with "". It then added ; to each carriage return, and deleted the extra comma.

Resources