2012-10-02 09:12:39 +02:00
|
|
|
/****************************************************************************
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** This file is part of Qt Creator.
|
2008-12-02 12:01:29 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-15 14:57:40 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2008-12-02 14:17:16 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2010-12-17 16:01:08 +01:00
|
|
|
**
|
2012-10-02 09:12:39 +02:00
|
|
|
****************************************************************************/
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2008-12-02 12:01:29 +01:00
|
|
|
#include "bookmarksplugin.h"
|
2018-01-10 15:32:21 +01:00
|
|
|
|
|
|
|
|
#include "bookmarkfilter.h"
|
2008-12-02 12:01:29 +01:00
|
|
|
#include "bookmarkmanager.h"
|
|
|
|
|
#include "bookmarks_global.h"
|
|
|
|
|
|
|
|
|
|
#include <coreplugin/icore.h>
|
2008-12-05 16:39:33 +01:00
|
|
|
#include <coreplugin/editormanager/ieditor.h>
|
|
|
|
|
#include <coreplugin/editormanager/editormanager.h>
|
2008-12-02 12:01:29 +01:00
|
|
|
#include <coreplugin/coreconstants.h>
|
2009-01-13 13:39:31 +01:00
|
|
|
#include <coreplugin/actionmanager/actionmanager.h>
|
2010-03-18 10:59:06 +01:00
|
|
|
#include <coreplugin/actionmanager/actioncontainer.h>
|
|
|
|
|
#include <coreplugin/actionmanager/command.h>
|
2018-02-02 12:17:58 +01:00
|
|
|
|
2014-09-26 09:14:03 +02:00
|
|
|
#include <texteditor/texteditor.h>
|
2015-02-26 13:22:35 +01:00
|
|
|
#include <texteditor/textdocument.h>
|
2009-01-19 12:39:20 +01:00
|
|
|
#include <texteditor/texteditorconstants.h>
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
#include <utils/fileutils.h>
|
2018-04-30 13:55:36 +02:00
|
|
|
#include <utils/utilsicons.h>
|
2008-12-05 16:39:33 +01:00
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QMenu>
|
2008-12-02 14:09:21 +01:00
|
|
|
|
2014-10-15 12:25:29 +02:00
|
|
|
using namespace Core;
|
2008-12-05 16:39:33 +01:00
|
|
|
using namespace TextEditor;
|
2020-06-26 13:59:38 +02:00
|
|
|
using namespace Utils;
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
using namespace Bookmarks::Constants;
|
|
|
|
|
|
2014-10-15 12:25:29 +02:00
|
|
|
namespace Bookmarks {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2019-02-21 14:59:57 +01:00
|
|
|
class BookmarksPluginPrivate : public QObject
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
2018-02-02 12:17:58 +01:00
|
|
|
public:
|
2019-02-21 14:59:57 +01:00
|
|
|
BookmarksPluginPrivate();
|
2018-02-02 12:17:58 +01:00
|
|
|
|
|
|
|
|
void updateActions(bool enableToggle, int stateMask);
|
|
|
|
|
void editorOpened(Core::IEditor *editor);
|
|
|
|
|
void editorAboutToClose(Core::IEditor *editor);
|
|
|
|
|
|
|
|
|
|
void requestContextMenu(TextEditor::TextEditorWidget *widget,
|
|
|
|
|
int lineNumber, QMenu *menu);
|
|
|
|
|
|
|
|
|
|
BookmarkManager m_bookmarkManager;
|
|
|
|
|
BookmarkFilter m_bookmarkFilter;
|
|
|
|
|
BookmarkViewFactory m_bookmarkViewFactory;
|
|
|
|
|
|
|
|
|
|
QAction m_toggleAction{BookmarksPlugin::tr("Toggle Bookmark"), nullptr};
|
|
|
|
|
QAction m_prevAction{BookmarksPlugin::tr("Previous Bookmark"), nullptr};
|
|
|
|
|
QAction m_nextAction{BookmarksPlugin::tr("Next Bookmark"), nullptr};
|
|
|
|
|
QAction m_docPrevAction{BookmarksPlugin::tr("Previous Bookmark in Document"), nullptr};
|
|
|
|
|
QAction m_docNextAction{BookmarksPlugin::tr("Next Bookmark in Document"), nullptr};
|
|
|
|
|
QAction m_editBookmarkAction{BookmarksPlugin::tr("Edit Bookmark"), nullptr};
|
|
|
|
|
QAction m_bookmarkMarginAction{BookmarksPlugin::tr("Toggle Bookmark"), nullptr};
|
|
|
|
|
|
|
|
|
|
int m_marginActionLineNumber = 0;
|
2019-05-28 13:49:26 +02:00
|
|
|
Utils::FilePath m_marginActionFileName;
|
2018-02-02 12:17:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
BookmarksPlugin::~BookmarksPlugin()
|
|
|
|
|
{
|
2019-02-21 14:59:57 +01:00
|
|
|
delete d;
|
2008-12-02 12:01:29 +01:00
|
|
|
}
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
bool BookmarksPlugin::initialize(const QStringList &, QString *)
|
|
|
|
|
{
|
2019-02-21 14:59:57 +01:00
|
|
|
d = new BookmarksPluginPrivate;
|
2018-02-02 12:17:58 +01:00
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2019-02-21 14:59:57 +01:00
|
|
|
BookmarksPluginPrivate::BookmarksPluginPrivate()
|
2018-02-02 12:17:58 +01:00
|
|
|
: m_bookmarkFilter(&m_bookmarkManager)
|
|
|
|
|
, m_bookmarkViewFactory(&m_bookmarkManager)
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
2014-10-15 12:25:29 +02:00
|
|
|
ActionContainer *mtools = ActionManager::actionContainer(Core::Constants::M_TOOLS);
|
Add macOS touch bar support
Introduce a generic Utils::TouchBar that implements a touch bar for
macOS based on QAction. Touch bars can be nested, and one is set to be
the application's top level touch bar.
Also add an ActionContainer for the touch bar. That allows us to manage
the layout of the touch bar the same way we do with menus.
Since the touch bar is an input device with very limited space, a
command in the touch bar needs to be specifically styled for the touch
bar by setting either touchBarText or touchBarIcon (or both).
Touch bars can be nested by nesting the ActionContainers. A nested touch
bar ActionContainer needs to specify an icon and/or text to show in the
touch bar button that opens that sub-bar.
Commands are only shown in the touch bar if they are valid within the
current context.
Implementation-wise we cannot use the standard NSPopoverTouchBarItem for
nesting touch bar levels. We cannot hide items in the touch bar, because
hidden items still take up space in the touch bar. So we need to rebuild
the touch bar regularly. Since the items we show are very dynamic, every
time the items in the toplevel bar change because of a context change,
any opened sub-level touch bar closes. That is why we maintain a stack of
touch bar levels ourselves, replacing the main touch bar with the current
level, and managing opening and closing the levels manually.
This patch adds buttons for Help, Bookmarks, Header/Source, Follow
(Symbol), Decl/Def, and a sub-bar for the debugger actions.
Fixes: QTCREATORBUG-21263
Change-Id: Ib63e610f21a993f1d324fe23c83a7f2224f434ac
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2018-10-05 13:52:57 +02:00
|
|
|
ActionContainer *touchBar = ActionManager::actionContainer(Core::Constants::TOUCH_BAR);
|
2014-10-15 12:25:29 +02:00
|
|
|
ActionContainer *mbm = ActionManager::createMenu(Id(BOOKMARKS_MENU));
|
2018-02-02 12:17:58 +01:00
|
|
|
mbm->menu()->setTitle(BookmarksPlugin::tr("&Bookmarks"));
|
2008-12-02 12:01:29 +01:00
|
|
|
mtools->addMenu(mbm);
|
|
|
|
|
|
2016-06-24 13:54:33 +02:00
|
|
|
const Context editorManagerContext(Core::Constants::C_EDITORMANAGER);
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
// Toggle
|
|
|
|
|
Command *cmd = ActionManager::registerAction(&m_toggleAction, BOOKMARKS_TOGGLE_ACTION,
|
|
|
|
|
editorManagerContext);
|
2018-02-02 13:39:18 +01:00
|
|
|
cmd->setDefaultKeySequence(QKeySequence(useMacShortcuts ? BookmarksPlugin::tr("Meta+M")
|
2018-02-02 12:17:58 +01:00
|
|
|
: BookmarksPlugin::tr("Ctrl+M")));
|
Add macOS touch bar support
Introduce a generic Utils::TouchBar that implements a touch bar for
macOS based on QAction. Touch bars can be nested, and one is set to be
the application's top level touch bar.
Also add an ActionContainer for the touch bar. That allows us to manage
the layout of the touch bar the same way we do with menus.
Since the touch bar is an input device with very limited space, a
command in the touch bar needs to be specifically styled for the touch
bar by setting either touchBarText or touchBarIcon (or both).
Touch bars can be nested by nesting the ActionContainers. A nested touch
bar ActionContainer needs to specify an icon and/or text to show in the
touch bar button that opens that sub-bar.
Commands are only shown in the touch bar if they are valid within the
current context.
Implementation-wise we cannot use the standard NSPopoverTouchBarItem for
nesting touch bar levels. We cannot hide items in the touch bar, because
hidden items still take up space in the touch bar. So we need to rebuild
the touch bar regularly. Since the items we show are very dynamic, every
time the items in the toplevel bar change because of a context change,
any opened sub-level touch bar closes. That is why we maintain a stack of
touch bar levels ourselves, replacing the main touch bar with the current
level, and managing opening and closing the levels manually.
This patch adds buttons for Help, Bookmarks, Header/Source, Follow
(Symbol), Decl/Def, and a sub-bar for the debugger actions.
Fixes: QTCREATORBUG-21263
Change-Id: Ib63e610f21a993f1d324fe23c83a7f2224f434ac
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2018-10-05 13:52:57 +02:00
|
|
|
cmd->setTouchBarIcon(Utils::Icons::MACOS_TOUCHBAR_BOOKMARK.icon());
|
2008-12-02 12:01:29 +01:00
|
|
|
mbm->addAction(cmd);
|
Add macOS touch bar support
Introduce a generic Utils::TouchBar that implements a touch bar for
macOS based on QAction. Touch bars can be nested, and one is set to be
the application's top level touch bar.
Also add an ActionContainer for the touch bar. That allows us to manage
the layout of the touch bar the same way we do with menus.
Since the touch bar is an input device with very limited space, a
command in the touch bar needs to be specifically styled for the touch
bar by setting either touchBarText or touchBarIcon (or both).
Touch bars can be nested by nesting the ActionContainers. A nested touch
bar ActionContainer needs to specify an icon and/or text to show in the
touch bar button that opens that sub-bar.
Commands are only shown in the touch bar if they are valid within the
current context.
Implementation-wise we cannot use the standard NSPopoverTouchBarItem for
nesting touch bar levels. We cannot hide items in the touch bar, because
hidden items still take up space in the touch bar. So we need to rebuild
the touch bar regularly. Since the items we show are very dynamic, every
time the items in the toplevel bar change because of a context change,
any opened sub-level touch bar closes. That is why we maintain a stack of
touch bar levels ourselves, replacing the main touch bar with the current
level, and managing opening and closing the levels manually.
This patch adds buttons for Help, Bookmarks, Header/Source, Follow
(Symbol), Decl/Def, and a sub-bar for the debugger actions.
Fixes: QTCREATORBUG-21263
Change-Id: Ib63e610f21a993f1d324fe23c83a7f2224f434ac
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2018-10-05 13:52:57 +02:00
|
|
|
touchBar->addAction(cmd, Core::Constants::G_TOUCHBAR_EDITOR);
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2015-09-03 15:01:04 +02:00
|
|
|
mbm->addSeparator();
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
// Previous
|
2018-04-30 13:55:36 +02:00
|
|
|
m_prevAction.setIcon(Utils::Icons::PREV_TOOLBAR.icon());
|
|
|
|
|
m_prevAction.setIconVisibleInMenu(false);
|
2018-02-02 12:17:58 +01:00
|
|
|
cmd = ActionManager::registerAction(&m_prevAction, BOOKMARKS_PREV_ACTION, editorManagerContext);
|
2018-02-02 13:39:18 +01:00
|
|
|
cmd->setDefaultKeySequence(QKeySequence(useMacShortcuts ? BookmarksPlugin::tr("Meta+,")
|
2018-02-02 12:17:58 +01:00
|
|
|
: BookmarksPlugin::tr("Ctrl+,")));
|
2008-12-02 12:01:29 +01:00
|
|
|
mbm->addAction(cmd);
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
// Next
|
2018-04-30 13:55:36 +02:00
|
|
|
m_nextAction.setIcon(Utils::Icons::NEXT_TOOLBAR.icon());
|
|
|
|
|
m_nextAction.setIconVisibleInMenu(false);
|
2018-02-02 12:17:58 +01:00
|
|
|
cmd = ActionManager::registerAction(&m_nextAction, BOOKMARKS_NEXT_ACTION, editorManagerContext);
|
2018-02-02 13:39:18 +01:00
|
|
|
cmd->setDefaultKeySequence(QKeySequence(useMacShortcuts ? BookmarksPlugin::tr("Meta+.")
|
2018-02-02 12:17:58 +01:00
|
|
|
: BookmarksPlugin::tr("Ctrl+.")));
|
2008-12-02 12:01:29 +01:00
|
|
|
mbm->addAction(cmd);
|
|
|
|
|
|
2015-02-19 11:35:47 +01:00
|
|
|
mbm->addSeparator();
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
// Previous Doc
|
|
|
|
|
cmd = ActionManager::registerAction(&m_docPrevAction, BOOKMARKS_PREVDOC_ACTION,
|
|
|
|
|
editorManagerContext);
|
2008-12-02 12:01:29 +01:00
|
|
|
mbm->addAction(cmd);
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
// Next Doc
|
|
|
|
|
cmd = ActionManager::registerAction(&m_docNextAction, BOOKMARKS_NEXTDOC_ACTION,
|
|
|
|
|
editorManagerContext);
|
2008-12-02 12:01:29 +01:00
|
|
|
mbm->addAction(cmd);
|
|
|
|
|
|
2018-05-02 11:59:37 +02:00
|
|
|
connect(&m_toggleAction, &QAction::triggered, this, [this] {
|
2015-09-03 15:01:04 +02:00
|
|
|
BaseTextEditor *editor = BaseTextEditor::currentTextEditor();
|
|
|
|
|
if (editor && !editor->document()->isTemporary())
|
2018-02-02 12:17:58 +01:00
|
|
|
m_bookmarkManager.toggleBookmark(editor->document()->filePath(), editor->currentLine());
|
2014-10-15 12:25:29 +02:00
|
|
|
});
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
connect(&m_prevAction, &QAction::triggered, &m_bookmarkManager, &BookmarkManager::prev);
|
|
|
|
|
connect(&m_nextAction, &QAction::triggered, &m_bookmarkManager, &BookmarkManager::next);
|
|
|
|
|
connect(&m_docPrevAction, &QAction::triggered,
|
|
|
|
|
&m_bookmarkManager, &BookmarkManager::prevInDocument);
|
|
|
|
|
connect(&m_docNextAction, &QAction::triggered,
|
|
|
|
|
&m_bookmarkManager, &BookmarkManager::nextInDocument);
|
2014-10-15 12:25:29 +02:00
|
|
|
|
2018-05-02 11:59:37 +02:00
|
|
|
connect(&m_editBookmarkAction, &QAction::triggered, this, [this] {
|
2018-02-02 12:17:58 +01:00
|
|
|
m_bookmarkManager.editByFileAndLine(m_marginActionFileName, m_marginActionLineNumber);
|
2014-10-15 12:25:29 +02:00
|
|
|
});
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
connect(&m_bookmarkManager, &BookmarkManager::updateActions,
|
2019-02-21 14:59:57 +01:00
|
|
|
this, &BookmarksPluginPrivate::updateActions);
|
2018-02-02 12:17:58 +01:00
|
|
|
updateActions(false, m_bookmarkManager.state());
|
2008-12-02 12:01:29 +01:00
|
|
|
|
2018-05-02 11:59:37 +02:00
|
|
|
connect(&m_bookmarkMarginAction, &QAction::triggered, this, [this] {
|
2018-02-02 12:17:58 +01:00
|
|
|
m_bookmarkManager.toggleBookmark(m_marginActionFileName, m_marginActionLineNumber);
|
2014-10-15 12:25:29 +02:00
|
|
|
});
|
2008-12-05 16:39:33 +01:00
|
|
|
|
|
|
|
|
// EditorManager
|
2014-10-15 12:25:29 +02:00
|
|
|
connect(EditorManager::instance(), &EditorManager::editorAboutToClose,
|
2019-02-21 14:59:57 +01:00
|
|
|
this, &BookmarksPluginPrivate::editorAboutToClose);
|
2014-10-15 12:25:29 +02:00
|
|
|
connect(EditorManager::instance(), &EditorManager::editorOpened,
|
2019-02-21 14:59:57 +01:00
|
|
|
this, &BookmarksPluginPrivate::editorOpened);
|
2008-12-02 12:01:29 +01:00
|
|
|
}
|
|
|
|
|
|
2019-02-21 14:59:57 +01:00
|
|
|
void BookmarksPluginPrivate::updateActions(bool enableToggle, int state)
|
2008-12-02 12:01:29 +01:00
|
|
|
{
|
|
|
|
|
const bool hasbm = state >= BookmarkManager::HasBookMarks;
|
|
|
|
|
const bool hasdocbm = state == BookmarkManager::HasBookmarksInDocument;
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
m_toggleAction.setEnabled(enableToggle);
|
|
|
|
|
m_prevAction.setEnabled(hasbm);
|
|
|
|
|
m_nextAction.setEnabled(hasbm);
|
|
|
|
|
m_docPrevAction.setEnabled(hasdocbm);
|
|
|
|
|
m_docNextAction.setEnabled(hasdocbm);
|
2008-12-02 12:01:29 +01:00
|
|
|
}
|
|
|
|
|
|
2019-02-21 14:59:57 +01:00
|
|
|
void BookmarksPluginPrivate::editorOpened(IEditor *editor)
|
2008-12-05 16:39:33 +01:00
|
|
|
{
|
2020-02-11 14:00:09 +01:00
|
|
|
if (auto widget = TextEditorWidget::fromEditor(editor)) {
|
2018-02-02 12:17:58 +01:00
|
|
|
connect(widget, &TextEditorWidget::markRequested,
|
|
|
|
|
this, [this, editor](TextEditorWidget *, int line, TextMarkRequestKind kind) {
|
2015-09-03 15:01:04 +02:00
|
|
|
if (kind == BookmarkRequest && !editor->document()->isTemporary())
|
2018-02-02 12:17:58 +01:00
|
|
|
m_bookmarkManager.toggleBookmark(editor->document()->filePath(), line);
|
2014-10-17 10:21:57 +02:00
|
|
|
});
|
|
|
|
|
|
2014-09-30 16:54:26 +02:00
|
|
|
connect(widget, &TextEditorWidget::markContextMenuRequested,
|
2019-02-21 14:59:57 +01:00
|
|
|
this, &BookmarksPluginPrivate::requestContextMenu);
|
2008-12-10 13:58:02 +01:00
|
|
|
}
|
2008-12-05 16:39:33 +01:00
|
|
|
}
|
|
|
|
|
|
2019-02-21 14:59:57 +01:00
|
|
|
void BookmarksPluginPrivate::editorAboutToClose(IEditor *editor)
|
2008-12-05 16:39:33 +01:00
|
|
|
{
|
2020-02-11 14:00:09 +01:00
|
|
|
if (auto widget = TextEditorWidget::fromEditor(editor)) {
|
2015-09-16 16:05:16 +02:00
|
|
|
disconnect(widget, &TextEditorWidget::markContextMenuRequested,
|
2019-02-21 14:59:57 +01:00
|
|
|
this, &BookmarksPluginPrivate::requestContextMenu);
|
2008-12-10 13:58:02 +01:00
|
|
|
}
|
2008-12-05 16:39:33 +01:00
|
|
|
}
|
|
|
|
|
|
2019-02-21 14:59:57 +01:00
|
|
|
void BookmarksPluginPrivate::requestContextMenu(TextEditorWidget *widget,
|
2008-12-05 16:39:33 +01:00
|
|
|
int lineNumber, QMenu *menu)
|
|
|
|
|
{
|
2015-09-16 16:37:43 +02:00
|
|
|
if (widget->textDocument()->isTemporary())
|
2013-10-17 17:41:47 +02:00
|
|
|
return;
|
|
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
m_marginActionLineNumber = lineNumber;
|
|
|
|
|
m_marginActionFileName = widget->textDocument()->filePath();
|
2012-09-20 11:27:22 +04:00
|
|
|
|
2018-02-02 12:17:58 +01:00
|
|
|
menu->addAction(&m_bookmarkMarginAction);
|
|
|
|
|
if (m_bookmarkManager.hasBookmarkInPosition(m_marginActionFileName, m_marginActionLineNumber))
|
|
|
|
|
menu->addAction(&m_editBookmarkAction);
|
2008-12-05 16:39:33 +01:00
|
|
|
}
|
|
|
|
|
|
2014-10-15 12:25:29 +02:00
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Bookmarks
|