diff options
author | David Schulz <david.schulz@theqtcompany.com> | 2015-04-17 12:46:28 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2015-05-21 08:23:16 +0000 |
commit | ab2a0d74dec2df08d23e14b5b3ad670d98af435f (patch) | |
tree | 02b161b155335a5cfd498fdd2052e86b7c490964 /src/plugins/debugger/debuggerengine.cpp | |
parent | a6e1c3cb54dcf419aa3b86ecd24865198906e313 (diff) | |
download | qt-creator-ab2a0d74dec2df08d23e14b5b3ad670d98af435f.tar.gz |
TextEditor: Sort text marks in categories.
Also adding a color for each category.
Change-Id: I3627d13913951a95804b5a816f087a822c01bd86
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/debuggerengine.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index c9234c8fa0..1ec592bc81 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -610,7 +610,7 @@ void DebuggerEngine::gotoLocation(const Location &loc) editor->document()->setProperty(Constants::OPENED_BY_DEBUGGER, true); if (loc.needsMarker()) { - d->m_locationMark.reset(new TextMark(file, line)); + d->m_locationMark.reset(new TextMark(file, line, Constants::TEXT_MARK_CATEGORY_LOCATION)); d->m_locationMark->setIcon(Internal::locationMarkIcon()); d->m_locationMark->setPriority(TextMark::HighPriority); } |