[Differential] [Commented On] D4110: Quick open: support also line number notions "#Lll", "#nll", "#ll"
Kevin Funk
noreply at phabricator.kde.org
Fri Jan 13 09:38:51 UTC 2017
kfunk added a comment.
@kwrite-devel Please check whether a function such as this would make sense in ktexteditor.git:
struct UrlCursor
{
QUrl url;
Cursor cursor;
}
/// Parse @p pathLike input and extract the url part and the line/column information
/// Example: /path/to/file.cpp:111, /path/to/file.cpp#L111
KTextEditor::UrlCursor KTextEditorHelpers::extractCursor(const QString& pathLike);
This functionality is duplicated in at least kate + kdevelop, probaby other places, too.
Not sure where to put it and whether ktexteditor.git would be the right place to start with though.
REPOSITORY
R33 KDevPlatform
REVISION DETAIL
https://phabricator.kde.org/D4110
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: kossebau, kfunk, #kdevelop, kwrite-devel
Cc: kfunk, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170113/b0e0f27f/attachment-0001.html>
More information about the KDevelop-devel
mailing list