[TxMt] Re: "Document.did-change" and access to the current document in a bundle?
George McGinley Smith
george at gsgd.co.uk
Tue Oct 11 05:56:13 UTC 2016
Okay, still happens even if I don't have preview open. But doesn't seem to
be all documents. So far I've only been able to trigger it for README.md
files and not all of them and not all of the time (except for the original
file which it always happens for).
https://api.textmate.org/crashes/345855
https://api.textmate.org/crashes/345856
What I also noticed is that it only happens when I only use the keyboard to
revert (including in the confirmation popup box). If I use the mouse I get
this:
[image: Screenshot 2016-10-11 09.38.34.png]
It reverted the file, but left the additional text still rendered on
screen. Typing or switching away and back gets rid of it.
On Mon, 10 Oct 2016 at 18:48 Allan Odgaard <mailinglist at textmate.org> wrote:
> On 5 Oct 2016, at 14:57, George McGinley Smith wrote:
>
>
>
> > Yes, crash reports are enabled, here's the latest:
>
> > https://api.textmate.org/crashes/345336
>
> >
>
> > Caret position was a good guess. I was testing by adding lines to the
>
> > end
>
> > of the file, doesn't seem to happen if I move to the start of the file
>
> > before reverting.
>
>
>
> Thanks, this would sort of explain the crash report, except that I just
>
> can’t reproduce this, and there should be code to handle this (i.e.
>
> fix cap the insertion point when the document is edited externally).
>
>
>
> If you open a document under SCM, add a bunch of lines and keep the
>
> caret at the last line, then git revert, do you see the caret moved (to
>
> the new last line of the document)?
>
>
>
> _______________________________________________
>
> textmate mailing list
>
> textmate at lists.macromates.com
>
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20161011/f10ce5dc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2016-10-11 09.38.34.png
Type: image/png
Size: 11694 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20161011/f10ce5dc/attachment-0001.png>
More information about the textmate
mailing list