1 /**************************************************************************** 2 ** 3 ** Contact: https://www.qt.io/licensing/ 4 ** 5 ** This file is part of Qt Creator. 6 ** 7 ** Commercial License Usage 8 ** Licensees holding valid commercial Qt licenses may use this file in 9 ** accordance with the commercial license agreement provided with the 10 ** Software or, alternatively, in accordance with the terms contained in 11 ** a written agreement between you and The Qt Company. For licensing terms 12 ** and conditions see https://www.qt.io/terms-conditions. For further 13 ** information use the contact form at https://www.qt.io/contact-us. 14 ** 15 ** GNU General Public License Usage 16 ** Alternatively, this file may be used under the terms of the GNU 17 ** General Public License version 3 as published by the Free Software 18 ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 19 ** included in the packaging of this file. Please review the following 20 ** information to ensure the GNU General Public License requirements will 21 ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 22 ** 23 ****************************************************************************/ 24 25 #pragma once 26 27 namespace EmacsKeys { 28 namespace Constants { 29 30 const char DELETE_CHARACTER[] = "EmacsKeys.DeleteCharacter"; 31 const char KILL_WORD[] = "EmacsKeys.KillWord"; 32 const char KILL_LINE[] = "EmacsKeys.KillLine"; 33 const char INSERT_LINE_AND_INDENT[] = "EmacsKeys.InsertLineAndIndent"; 34 35 const char GOTO_FILE_START[] = "EmacsKeys.GotoFileStart"; 36 const char GOTO_FILE_END[] = "EmacsKeys.GotoFileEnd"; 37 const char GOTO_LINE_START[] = "EmacsKeys.GotoLineStart"; 38 const char GOTO_LINE_END[] = "EmacsKeys.GotoLineEnd"; 39 const char GOTO_NEXT_LINE[] = "EmacsKeys.GotoNextLine"; 40 const char GOTO_PREVIOUS_LINE[] = "EmacsKeys.GotoPreviousLine"; 41 const char GOTO_NEXT_CHARACTER[] = "EmacsKeys.GotoNextCharacter"; 42 const char GOTO_PREVIOUS_CHARACTER[] = "EmacsKeys.GotoPreviousCharacter"; 43 const char GOTO_NEXT_WORD[] = "EmacsKeys.GotoNextWord"; 44 const char GOTO_PREVIOUS_WORD[] = "EmacsKeys.GotoPreviousWord"; 45 46 const char MARK[] = "EmacsKeys.Mark"; 47 const char EXCHANGE_CURSOR_AND_MARK[] = "EmacsKeys.ExchangeCursorAndMark"; 48 const char COPY[] = "EmacsKeys.Copy"; 49 const char CUT[] = "EmacsKeys.Cut"; 50 const char YANK[] = "EmacsKeys.Yank"; 51 52 const char SCROLL_HALF_DOWN[] = "EmacsKeys.ScrollHalfDown"; 53 const char SCROLL_HALF_UP[] = "EmacsKeys.ScrollHalfUp"; 54 55 } // namespace EmacsKeys 56 } // namespace Constants 57