Files
imhex/plugins/ui/CMakeLists.txt
paxcut 50f1fe2b2d improv: moved text editor to the ui plugin. (#2397)
Reorganized source code into files named in the fashion of imhex and
split large functions into smaller ones. Moved all function definitions
out of the header except for one-liners. All variable types were
switched to use imHex standard (u8,...) and removed duplicated functions
that were needed when the text editor was isolated.

Minor improvements to find/replace while making sure they still worked
with utf-8 chars.
2025-08-10 14:35:21 -07:00

27 lines
656 B
CMake

cmake_minimum_required(VERSION 3.16)
include(ImHexPlugin)
add_imhex_plugin(
NAME
ui
SOURCES
source/library_ui.cpp
source/ui/hex_editor.cpp
source/ui/pattern_drawer.cpp
source/ui/visualizer_drawer.cpp
source/ui/menu_items.cpp
source/ui/pattern_value_editor.cpp
source/ui/text_editor/editor.cpp
source/ui/text_editor/highlighter.cpp
source/ui/text_editor/navigate.cpp
source/ui/text_editor/render.cpp
source/ui/text_editor/support.cpp
source/ui/text_editor/utf8.cpp
INCLUDES
include
LIBRARIES
fonts
LIBRARY_PLUGIN
)