MovingRanges Port: untitled documents
Milian Wolff
mail at milianw.de
Thu Jul 22 13:07:00 UTC 2010
Hey there,
I noticed that KDevelop crashes in the MovingRanges port when one edits an
untitled document. This triggers a deleayed documentLoaded() (very strange
btw. that code!) and goes to the background parser slot. There it's checked
for a textDocument and a tracker gets added which checks the url for validity.
Problem:
KDevelop::Document::url() == 'Untitled'; == valid
TextDocument::url() == "" != valid
=> assert
now I thought, fine lets add checks for validity before creating the tracker,
but is that what we want? Why is there a tracker at all for a document for
which no language exists? I'd like some feedback before I start "fixing" stuff
to make it work.
Bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100722/3efc2999/attachment.sig>
More information about the KDevelop-devel
mailing list