Home Download Buy Blog Forum Support

Bug with search and replace

Bug with search and replace

Postby wickyd on Mon Dec 05, 2011 6:49 am


What I want to achieve is to copy a single column of tabular text from a webpage.

Steps to recreate bug:
1. Copy some tabular text from a webpage and paste into Sublime Text 2.
2. Manually introduce a double space between two columns, so that I can search for that double space with search and replace.
3. Search for <space> <space> , which looks like .. and replace it with many spaces .................................. so that one side of the two columns are now split apart.
4. Repeat the process on the right side of the column that needs to be isolated.
5. Now that the column is isolated, hold the middle mouse key down and drag over the text to highlight the column. Right click and copy.
6. Paste the text into a new document.
7. Use search and replace and replace .. with . (in other words <space> <space> with <space>) to get rid of all the extra spaces.
8. BUG: The new document is totally broken after clicking Replace All.

Build: Sublime Text 2 Beta Build 2139
OS: Windows 7 Ultimate 32-bit

Thank you.

[EDIT] Yay for Firefox! It is possible to column select text by holding the Ctrl key down and selecting a column of text in a table! At least I can carry on using Sublime without having to deal with this bug.
Posts: 2
Joined: Wed Nov 30, 2011 5:52 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 26 guests