[SVN] r3426

Allan Odgaard throw-away-1 at macromates.com
Fri May 26 04:37:13 UTC 2006


• when initiating an edit, TextMate will open the text with the caret placed on the same line as the calling text / web view

I didn’t find any interface for getting the line number from the web view, so instead I insert a unicode replacement character and look for this — this has the disadvantages that if the text is not replaced (i.e. saved from TM), this code point will stay in the text (it will be visible)

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



More information about the textmate-dev mailing list