- Document `TestFrontend` for programmatic testing, including examples and usage details. - Add `UpdateBufferReference` to `UndoSystem` to support updating buffer associations.
257 lines
15 KiB
XML
257 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project version="4">
|
|
<component name="AutoImportSettings">
|
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
</component>
|
|
<component name="BackendCodeEditorMiscSettings">
|
|
<option name="/Default/Environment/Hierarchy/GeneratedFilesCacheKey/Timestamp/@EntryValue" value="3" type="long" />
|
|
<option name="/Default/Housekeeping/FeatureSuggestion/FeatureSuggestionManager/DisabledSuggesters/=SwitchToGoToActionSuggester/@EntryIndexedValue" value="true" type="bool" />
|
|
<option name="/Default/Housekeeping/GlobalSettingsUpgraded/IsUpgraded/@EntryValue" value="true" type="bool" />
|
|
<option name="/Default/Housekeeping/OptionsDialog/SelectedPageId/@EntryValue" value="CppFormatterOtherPage" type="string" />
|
|
<option name="/Default/Housekeeping/RefactoringsMru/RenameRefactoring/DoSearchForTextInStrings/@EntryValue" value="true" type="bool" />
|
|
<option name="/Default/RiderDebugger/RiderRestoreDecompile/RestoreDecompileSetting/@EntryValue" value="false" type="bool" />
|
|
</component>
|
|
<component name="CMakePresetLoader"><![CDATA[{
|
|
"useNewFormat": true
|
|
}]]></component>
|
|
<component name="CMakeProjectFlavorService">
|
|
<option name="flavorId" value="CMakePlainProjectFlavor" />
|
|
</component>
|
|
<component name="CMakeReloadState">
|
|
<option name="reloaded" value="true" />
|
|
</component>
|
|
<component name="CMakeRunConfigurationManager">
|
|
<generated>
|
|
<config projectName="kte" targetName="kte" />
|
|
<config projectName="kte" targetName="imgui" />
|
|
<config projectName="kte" targetName="kge" />
|
|
<config projectName="kte" targetName="test_undo" />
|
|
</generated>
|
|
</component>
|
|
<component name="CMakeSettings" AUTO_RELOAD="true">
|
|
<configurations>
|
|
<configuration PROFILE_NAME="Debug" ENABLED="true" CONFIG_NAME="Debug" GENERATION_OPTIONS="-G "Unix Makefiles" -DKTE_USE_PIECE_TABLE:BOOL=ON -DBUILD_GUI:BOOL=ON" />
|
|
</configurations>
|
|
</component>
|
|
<component name="ChangeListManager">
|
|
<list default="true" id="e1fe3ab0-3650-4fca-8664-a247d5dfa457" name="Changes" comment="Add non-linear undo/redo design documentation and improve `UndoSystem` with backspace batching and GUI integration fixes.">
|
|
<change afterPath="$PROJECT_DIR$/TestFrontend.cc" afterDir="false" />
|
|
<change afterPath="$PROJECT_DIR$/TestInputHandler.cc" afterDir="false" />
|
|
<change afterPath="$PROJECT_DIR$/TestRenderer.cc" afterDir="false" />
|
|
<change afterPath="$PROJECT_DIR$/docs/TestFrontend.md" afterDir="false" />
|
|
<change afterPath="$PROJECT_DIR$/test_undo.cc" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/Buffer.cc" beforeDir="false" afterPath="$PROJECT_DIR$/Buffer.cc" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/Buffer.h" beforeDir="false" afterPath="$PROJECT_DIR$/Buffer.h" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/CMakeLists.txt" beforeDir="false" afterPath="$PROJECT_DIR$/CMakeLists.txt" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/Command.cc" beforeDir="false" afterPath="$PROJECT_DIR$/Command.cc" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/Command.h" beforeDir="false" afterPath="$PROJECT_DIR$/Command.h" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/GUIFrontend.cc" beforeDir="false" afterPath="$PROJECT_DIR$/GUIFrontend.cc" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/KKeymap.cc" beforeDir="false" afterPath="$PROJECT_DIR$/KKeymap.cc" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/TerminalInputHandler.cc" beforeDir="false" afterPath="$PROJECT_DIR$/TerminalInputHandler.cc" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/UndoSystem.cc" beforeDir="false" afterPath="$PROJECT_DIR$/UndoSystem.cc" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/UndoSystem.h" beforeDir="false" afterPath="$PROJECT_DIR$/UndoSystem.h" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/docs/ke.md" beforeDir="false" afterPath="$PROJECT_DIR$/docs/ke.md" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/docs/undo-state.md" beforeDir="false" afterPath="$PROJECT_DIR$/docs/undo-state.md" afterDir="false" />
|
|
<change beforePath="$PROJECT_DIR$/fonts/brassmono.h" beforeDir="false" afterPath="$PROJECT_DIR$/fonts/brassmono.h" afterDir="false" />
|
|
</list>
|
|
<option name="SHOW_DIALOG" value="false" />
|
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
</component>
|
|
<component name="ClangdSettings">
|
|
<option name="formatViaClangd" value="false" />
|
|
</component>
|
|
<component name="ExecutionTargetManager" SELECTED_TARGET="CMakeBuildProfile:Debug" />
|
|
<component name="FormatOnSaveOptions">
|
|
<option name="myRunOnSave" value="true" />
|
|
</component>
|
|
<component name="Git.Settings">
|
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
<option name="UPDATE_TYPE" value="REBASE" />
|
|
</component>
|
|
<component name="HighlightingSettingsPerFile">
|
|
<setting file="mock:///AIAssistantSnippet.." root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///AIAssistantSnippet.." root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///AIAssistantSnippet.." root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
<setting file="mock:///dummy.cpp" root0="SKIP_HIGHLIGHTING" />
|
|
</component>
|
|
<component name="OptimizeOnSaveOptions">
|
|
<option name="myRunOnSave" value="true" />
|
|
</component>
|
|
<component name="ProjectApplicationVersion">
|
|
<option name="ide" value="CLion" />
|
|
<option name="majorVersion" value="2025" />
|
|
<option name="minorVersion" value="2.5" />
|
|
<option name="productBranch" value="Classic" />
|
|
</component>
|
|
<component name="ProjectColorInfo"><![CDATA[{
|
|
"associatedIndex": 3
|
|
}]]></component>
|
|
<component name="ProjectId" id="36AlI8oyQOzOwSuZg6WxXf5LbHb" />
|
|
<component name="ProjectLevelVcsManager">
|
|
<OptionsSetting value="false" id="Update" />
|
|
</component>
|
|
<component name="ProjectViewState">
|
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
<option name="showLibraryContents" value="true" />
|
|
<option name="sortByType" value="true" />
|
|
<option name="sortKey" value="BY_TYPE" />
|
|
</component>
|
|
<component name="PropertiesComponent"><![CDATA[{
|
|
"keyToString": {
|
|
"CMake Application.kge.executor": "Run",
|
|
"CMake Application.test_example.executor": "Run",
|
|
"CMake Application.test_undo.executor": "Run",
|
|
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
|
"NIXITCH_NIXPKGS_CONFIG": "",
|
|
"NIXITCH_NIX_CONF_DIR": "",
|
|
"NIXITCH_NIX_OTHER_STORES": "",
|
|
"NIXITCH_NIX_PATH": "",
|
|
"NIXITCH_NIX_PROFILES": "",
|
|
"NIXITCH_NIX_REMOTE": "",
|
|
"NIXITCH_NIX_USER_PROFILE_DIR": "",
|
|
"RunOnceActivity.RadMigrateCodeStyle": "true",
|
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
"RunOnceActivity.cidr.known.project.marker": "true",
|
|
"RunOnceActivity.readMode.enableVisualFormatting": "true",
|
|
"RunOnceActivity.west.config.association.type.startup.service": "true",
|
|
"cf.first.check.clang-format": "false",
|
|
"cidr.known.project.marker": "true",
|
|
"code.cleanup.on.save": "true",
|
|
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
|
"git-widget-placeholder": "master",
|
|
"junie.onboarding.icon.badge.shown": "true",
|
|
"node.js.detected.package.eslint": "true",
|
|
"node.js.detected.package.tslint": "true",
|
|
"node.js.selected.package.eslint": "(autodetect)",
|
|
"node.js.selected.package.tslint": "(autodetect)",
|
|
"nodejs_package_manager_path": "npm",
|
|
"onboarding.tips.debug.path": "/Users/kyle/src/kte/main.cpp",
|
|
"rearrange.code.on.save": "true",
|
|
"settings.editor.selected.configurable": "junie.application.models",
|
|
"to.speed.mode.migration.done": "true",
|
|
"vue.rearranger.settings.migration": "true"
|
|
}
|
|
}]]></component>
|
|
<component name="RecentsManager">
|
|
<key name="MoveFile.RECENT_KEYS">
|
|
<recent name="$PROJECT_DIR$/docs" />
|
|
</key>
|
|
</component>
|
|
<component name="RunManager" selected="CMake Application.test_undo">
|
|
<configuration default="true" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" EMULATE_TERMINAL="false" PASS_PARENT_ENVS_2="true">
|
|
<method v="2">
|
|
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
|
</method>
|
|
</configuration>
|
|
<configuration name="imgui" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" EMULATE_TERMINAL="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="kte" TARGET_NAME="imgui" CONFIG_NAME="Debug">
|
|
<method v="2">
|
|
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
|
</method>
|
|
</configuration>
|
|
<configuration name="kge" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" EMULATE_TERMINAL="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="kte" TARGET_NAME="kge" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="kte" RUN_TARGET_NAME="kge">
|
|
<method v="2">
|
|
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
|
</method>
|
|
</configuration>
|
|
<configuration name="kte" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" EMULATE_TERMINAL="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="kte" TARGET_NAME="kte" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="kte" RUN_TARGET_NAME="kte">
|
|
<method v="2">
|
|
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
|
</method>
|
|
</configuration>
|
|
<configuration name="test_undo" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" EMULATE_TERMINAL="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="kte" TARGET_NAME="test_undo" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="kte" RUN_TARGET_NAME="test_undo">
|
|
<method v="2">
|
|
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
|
</method>
|
|
</configuration>
|
|
<list>
|
|
<item itemvalue="CMake Application.imgui" />
|
|
<item itemvalue="CMake Application.kge" />
|
|
<item itemvalue="CMake Application.kte" />
|
|
<item itemvalue="CMake Application.test_undo" />
|
|
</list>
|
|
</component>
|
|
<component name="TaskManager">
|
|
<task active="true" id="Default" summary="Default task">
|
|
<changelist id="e1fe3ab0-3650-4fca-8664-a247d5dfa457" name="Changes" comment="" />
|
|
<created>1764457173148</created>
|
|
<option name="number" value="Default" />
|
|
<option name="presentableId" value="Default" />
|
|
<updated>1764457173148</updated>
|
|
<workItem from="1764457174208" duration="41399000" />
|
|
</task>
|
|
<task id="LOCAL-00001" summary="Add undo/redo infrastructure and buffer management additions.">
|
|
<option name="closed" value="true" />
|
|
<created>1764485311566</created>
|
|
<option name="number" value="00001" />
|
|
<option name="presentableId" value="LOCAL-00001" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1764485311566</updated>
|
|
</task>
|
|
<task id="LOCAL-00002" summary="Refactor `Buffer` to use `Line` abstraction and improve handling of row operations. This uses either a GapBuffer or PieceTable depending on the compilation.">
|
|
<option name="closed" value="true" />
|
|
<created>1764486011231</created>
|
|
<option name="number" value="00002" />
|
|
<option name="presentableId" value="LOCAL-00002" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1764486011231</updated>
|
|
</task>
|
|
<task id="LOCAL-00003" summary="Handle end-of-file newline semantics and improve scroll alignment logic.">
|
|
<option name="closed" value="true" />
|
|
<created>1764486876984</created>
|
|
<option name="number" value="00003" />
|
|
<option name="presentableId" value="LOCAL-00003" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1764486876984</updated>
|
|
</task>
|
|
<task id="LOCAL-00004" summary="Add `UndoSystem` implementation and refactor `UndoNode` for simplicity.">
|
|
<option name="closed" value="true" />
|
|
<created>1764489870957</created>
|
|
<option name="number" value="00004" />
|
|
<option name="presentableId" value="LOCAL-00004" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1764489870957</updated>
|
|
</task>
|
|
<task id="LOCAL-00005" summary="Add non-linear undo/redo design documentation and improve `UndoSystem` with backspace batching and GUI integration fixes.">
|
|
<option name="closed" value="true" />
|
|
<created>1764496151303</created>
|
|
<option name="number" value="00005" />
|
|
<option name="presentableId" value="LOCAL-00005" />
|
|
<option name="project" value="LOCAL" />
|
|
<updated>1764496151303</updated>
|
|
</task>
|
|
<option name="localTasksCounter" value="6" />
|
|
<servers />
|
|
</component>
|
|
<component name="TypeScriptGeneratedFilesManager">
|
|
<option name="version" value="3" />
|
|
</component>
|
|
<component name="VCPKGProject">
|
|
<isAutomaticCheckingOnLaunch value="false" />
|
|
<isAutomaticFoundErrors value="true" />
|
|
<isAutomaticReloadCMake value="true" />
|
|
</component>
|
|
<component name="VcsManagerConfiguration">
|
|
<MESSAGE value="Refactoring" />
|
|
<MESSAGE value="Add undo/redo infrastructure and buffer management additions." />
|
|
<MESSAGE value="Refactor `Buffer` to use `Line` abstraction and improve handling of row operations. This uses either a GapBuffer or PieceTable depending on the compilation." />
|
|
<MESSAGE value="Handle end-of-file newline semantics and improve scroll alignment logic." />
|
|
<MESSAGE value="Enable installation targets." />
|
|
<MESSAGE value="Add `UndoSystem` implementation and refactor `UndoNode` for simplicity." />
|
|
<MESSAGE value="Add non-linear undo/redo design documentation and improve `UndoSystem` with backspace batching and GUI integration fixes." />
|
|
<option name="LAST_COMMIT_MESSAGE" value="Add non-linear undo/redo design documentation and improve `UndoSystem` with backspace batching and GUI integration fixes." />
|
|
</component>
|
|
<component name="XSLT-Support.FileAssociations.UIState">
|
|
<expand />
|
|
<select />
|
|
</component>
|
|
</project> |