[SVN] r8982

Allan Odgaard throw-away-2 at macromates.com
Fri Feb 22 23:24:52 UTC 2008


Fix issue with locating textarea among multiple textareas

Previously if there were multiple textareas the selection logic
failed if the textarea were empty or already fully selected. As
a workaround, any such areas are temporarily set to an a
single space (' '). This gives something for selectAll to work on
(or clears an active selection). After locating the textarea, we
then restore the previously value.

Signed-off-by: Jay Soffian <jaysoffian at gmail.com>

Changed:
U   trunk/Tools/Edit in TextMate/src/WebView: Edit in TextMate.mm



More information about the textmate-dev mailing list