Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-03-24 14:46:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-24 14:46:25 +0300
commit9d1de621e2a7505ef7260df8a34b670e99f94a67 (patch)
tree0fd6a75394072f9934cb317995f3fe34cca3c4dc /source/blender/blenkernel/BKE_text.h
parent19f148d9d0e4c4407ea46b6021e581e26d03c556 (diff)
Cleanup: move undo opcodes out of public header
Diffstat (limited to 'source/blender/blenkernel/BKE_text.h')
-rw-r--r--source/blender/blenkernel/BKE_text.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/source/blender/blenkernel/BKE_text.h b/source/blender/blenkernel/BKE_text.h
index 14d3318e059..b3b1ad23b32 100644
--- a/source/blender/blenkernel/BKE_text.h
+++ b/source/blender/blenkernel/BKE_text.h
@@ -135,47 +135,6 @@ enum {
TXT_MOVE_LINE_DOWN = 1
};
-
-/* Undo opcodes */
-
-/* Complex editing */
-/* 1 - opcode is followed by 1 byte for ascii character and opcode (repeat)) */
-/* 2 - opcode is followed by 2 bytes for utf-8 character and opcode (repeat)) */
-/* 3 - opcode is followed by 3 bytes for utf-8 character and opcode (repeat)) */
-/* 4 - opcode is followed by 4 bytes for unicode character and opcode (repeat)) */
-#define UNDO_INSERT_1 013
-#define UNDO_INSERT_2 014
-#define UNDO_INSERT_3 015
-#define UNDO_INSERT_4 016
-
-#define UNDO_BS_1 017
-#define UNDO_BS_2 020
-#define UNDO_BS_3 021
-#define UNDO_BS_4 022
-
-#define UNDO_DEL_1 023
-#define UNDO_DEL_2 024
-#define UNDO_DEL_3 025
-#define UNDO_DEL_4 026
-
-/* Text block (opcode is followed
- * by 4 character length ID + the text
- * block itself + the 4 character length
- * ID (repeat) and opcode (repeat)) */
-#define UNDO_DBLOCK 027 /* Delete block */
-#define UNDO_IBLOCK 030 /* Insert block */
-
-/* Misc */
-#define UNDO_INDENT 032
-#define UNDO_UNINDENT 033
-#define UNDO_COMMENT 034
-#define UNDO_UNCOMMENT 035
-
-#define UNDO_MOVE_LINES_UP 036
-#define UNDO_MOVE_LINES_DOWN 037
-
-#define UNDO_DUPLICATE 040
-
#ifdef __cplusplus
}
#endif