Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f8d0e9213f | |||
| 68286ecb7c | |||
| 44807d0f40 |
1
Buffer.h
1
Buffer.h
@@ -5,6 +5,7 @@
|
|||||||
#define KTE_BUFFER_H
|
#define KTE_BUFFER_H
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ project(kte)
|
|||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(KTE_VERSION "1.0.1")
|
set(KTE_VERSION "1.0.2")
|
||||||
|
|
||||||
# Default to terminal-only build to avoid SDL/OpenGL dependency by default.
|
# Default to terminal-only build to avoid SDL/OpenGL dependency by default.
|
||||||
# Enable with -DBUILD_GUI=ON when SDL2/OpenGL/Freetype are available.
|
# Enable with -DBUILD_GUI=ON when SDL2/OpenGL/Freetype are available.
|
||||||
@@ -201,4 +201,5 @@ if (${BUILD_GUI})
|
|||||||
endif ()
|
endif ()
|
||||||
# Install kge man page only when GUI is built
|
# Install kge man page only when GUI is built
|
||||||
install(FILES docs/kge.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
install(FILES docs/kge.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||||
|
install(FILES kge.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons)
|
||||||
endif ()
|
endif ()
|
||||||
|
|||||||
@@ -5,3 +5,6 @@ ROADMAP / TODO:
|
|||||||
- [ ] The undo system should actually work
|
- [ ] The undo system should actually work
|
||||||
- [ ] Able to mark buffers as read-only
|
- [ ] Able to mark buffers as read-only
|
||||||
- [ ] Built-in help text
|
- [ ] Built-in help text
|
||||||
|
- [ ] Shorten paths in the homedir with ~
|
||||||
|
- [ ] When the filename is longer than the message window, scoot left to
|
||||||
|
to keep it in view
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
#ifndef KTE_UNDONODE_H
|
#ifndef KTE_UNDONODE_H
|
||||||
#define KTE_UNDONODE_H
|
#define KTE_UNDONODE_H
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
||||||
enum class UndoType : uint8_t {
|
enum class UndoType : std::uint8_t {
|
||||||
Insert,
|
Insert,
|
||||||
Delete,
|
Delete,
|
||||||
Paste,
|
Paste,
|
||||||
|
|||||||
Reference in New Issue
Block a user