[TxMt] Re: Auto-highlight all occurrences of selected word

Matt Neuburg matt at tidbits.com
Fri Oct 7 16:47:47 UTC 2016


I know this isn't what you're asking for, but I really like the fact you can go from command-E command-F to Find All _in document_. You thus get a different use of the global find dialog: all occurrences _in this document_ appear in the dialog (rather than in the project). To me, this handles the need you're describing. I don't think autohighlighting would be useful because then you have to scroll and spot the highlighting (and my documents are _big_), whereas this way they are all listed for you. m.

> On Oct 7, 2016, at 9:15 AM, Kelvin Wu <kelvin.wu at gmail.com> wrote:
> 
> 2 years past, just to bump this request again, any hope to add this feature in TM3? Have been searching for this feature in some other Mac editors, Sublime 3 does what I am looking for, i.e., control+d or double click to highlight all occurrences, but i am not a big fan of Sublime..     
> 
> 
> --
> Sent from my mobile. Ignore the typos unless they're funny.
> 
> On Wed, Apr 22, 2015 at 6:36 PM, George McGinley Smith <george at gsgd.co.uk> wrote:
> I think this is a subtly different use case to CMD+OPT+F. What I've seen elsewhere is an indication of the same text elsewhere in the current document, not a multiple caret selection. So any currently highlighted text would appear throughout the doc similar to how highlighting matching pairs works now – something that doesn't require the user to do anything.
> 
> On 16 April 2015 at 16:47, Kelvin Wu <kelvin.wu at gmail.com> wrote:
> I don't really like what cmd+opt+F does, 
> 
> 1. it auto jumps to the last occurrence, which could be few pages away from where I double-clicked.
> 2. the highlighting background color is same as selection background, if you see my screenshot, i actually prefer a different, bright color to highlight all occurrences.
> 
>  
> 
> 
> --
> Sent from my mobile. Ignore the typos unless they're funny.
> 
> On Thu, Apr 16, 2015 at 7:07 PM, Tim Bates <timothy.c.bates at gmail.com> wrote:
> I guess you could program option-double click to the same as “double-click  +  ⌘-E  +  ⌘-⌥-F ”
> 
>> On 16 Apr 2015, at 6:58 AM, Kelvin Wu <kelvin.wu at gmail.com> wrote:
>> 
>> Will this requirement be considered in the future version?
>> 
>> I attach a screenshot that shows what it looks like in EditPlus. A simple double-click on word "prev_sc", will highlight all occurrences in the dcument. useful to quickly find a particular pattern.
>>  
>> 
>> <mx33AF0.png>
>> 
>> 
>> 
>> --
>> Sent from my mobile. Ignore the typos unless they're funny.
>> 
>> On Thu, Jun 19, 2014 at 3:53 AM, Allan Odgaard <mailinglist at textmate.org> wrote:
>> On 3 Jun 2014, at 4:20, Kelvin Wu wrote:
>> 
>> TextMate 1 or 2, is there a way to auto-highlight all occurrences of
>> selected word? […]
>> 
>> With TextMate I have to additionally hit Opt+Cmd+F […]
>> 
>> Ctr-S not really meets what I need.
>> 
>> Beyond the options you already listed, there is no way to highlight all occurances of current selection.
>> 
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>> 
>> 
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 
> 
> -- 
> Kind regards,
> George.
> 
> http://gsgd.co.uk
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 10! http://shop.oreilly.com/product/0636920055235.do
iOS 10 Fundamentals! http://shop.oreilly.com/product/0636920055211.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html



More information about the textmate mailing list