EditorProxy
Milo Hoffman
Milo at NG-Projekt.ORG
Sun Jan 26 16:02:06 UTC 2003
Hi,
> > PartController::editDocument(const KURL& inputUrl, int lineNum=-1)
>
> I don't know what the original intention was, but I believe that "-1" means
> "show the document but don't set the line number at all". In case the
> document is already opened, it will just jump there and leave the cursor
> position.
>
> I added a check in editorproxy.cpp, I hope the behaviour is correct now.
this could also be the cause of another problem: When I change configuration
in QEditor it sometimes (always?) jumps to the first position of the current
file.
Best regards,
Sascha "Milo" Cunz
More information about the KDevelop-devel
mailing list