File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1000,6 +1000,13 @@ void App::DrawLuaWindow() {
10001000void App::HandleShortcuts (bool & running) {
10011001 ImGuiIO& io = ImGui::GetIO ();
10021002
1003+ // Escape: çoklu imleci tek imlece indir (otomatik tamamlama kapalıysa)
1004+ if (ImGui::IsKeyPressed (ImGuiKey_Escape, false ) && !m_ac.visible ) {
1005+ auto & ed = ActiveTab ().editor ;
1006+ if (ed.mState .mCurrentCursor > 0 )
1007+ ed.ClearExtraCursors ();
1008+ }
1009+
10031010 if (ImGui::IsKeyPressed (ImGuiKey_F5) && m_luaWinOpen)
10041011 luaEngine.Execute (m_luaEditor.GetText ());
10051012 if (ImGui::IsKeyPressed (ImGuiKey_F6))
Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ int main(int argc, char** argv) {
7171 IMGUI_CHECKVERSION ();
7272 ImGui::CreateContext ();
7373 ImGuiIO& io = ImGui::GetIO ();
74- io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
74+ // NavEnableKeyboard kapatıldı: metin editöründe Escape tuşu ImGui'nin
75+ // NavUpdateCancelRequest fonksiyonu tarafından ele geçirilip child window'dan
76+ // çıkılmasına neden oluyordu. Tüm kısayollar uygulama katmanında yönetiliyor.
77+ // io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
7578 io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
7679
7780 // imgui.ini dosyasını %APPDATA%\Yazit\ altına yönlendir
You can’t perform that action at this time.
0 commit comments