1
0
mirror of synced 2025-01-09 13:11:38 +01:00
ImHex/lib/third_party/imgui
paxcut 6d2761f141
feat: Added multiline search/replace and fixed various crashes. (#1911)
### Problem description
Previous implementation ignored everything after the first newline.
Other changes include:
- Added isEmpty() function that checks if editor has no content.
- replaced asserts with default behavior to avoid unneeded crashes.
- fixed off by one error in DeleteRange()
- some crashes occurred because readily available corrective actions
were not being taken. For example start/end being -1 in DeleteRange().
- At the heart of search/replace is the ability to translate from
indices into the text string to line/column coordinates used for
everything. To this end a function (StringIndexToCoordinates) was added
to do the translation taking utf-8 chars into account. This made the
recently added Utf8BytesToChars function unneeded, so it was removed.
- Removed commented out code that is not useful anymore. Also removed
tooltip code which is also unused.
- Removed unused parameter wrapAround to FindNext().
2024-11-29 09:37:05 +01:00
..
cimgui build: Updated ImGui to v1.91.5 2024-11-24 18:55:56 +01:00
ColorTextEditor feat: Added multiline search/replace and fixed various crashes. (#1911) 2024-11-29 09:37:05 +01:00
custom build: Fix building for webassembly 2024-11-25 00:08:08 +01:00
imgui build: Updated ImGui to v1.91.5 2024-11-24 18:55:56 +01:00
imnodes build: Make external plugins build again 2024-02-24 15:06:10 +01:00
implot build: Make external plugins build again 2024-02-24 15:06:10 +01:00
CMakeLists.txt impr: Get rid of cimgui shared library by hooking pinvoke handler 2024-03-12 23:17:49 +01:00