@@ -175,7 +175,7 @@ std::string EditorApp::get_version() {
175175 } else {
176176 version = " BUG-merang!!!" ; // fallback if VERSION file missing
177177 }
178- return " pCode Editor version " + version;
178+ return " pCode Editor version 0.2.70 (6f291ac) " + version;
179179}
180180
181181// ============================================================================
@@ -2127,6 +2127,14 @@ void EditorApp::render_menu_view() {
21272127 if (ImGui::MenuItem (" Status Bar" , nullptr , &sb)) toggle_status_bar ();
21282128 bool exp = show_file_tree_;
21292129 if (ImGui::MenuItem (" Explorer" , nullptr , &exp)) toggle_explorer ();
2130+ if (show_file_tree_) {
2131+ ImGui::Indent ();
2132+ bool exp_left = settings_.explorer_left ;
2133+ if (ImGui::MenuItem (" Explorer: Left" , nullptr , &exp_left)) settings_.explorer_left = true ;
2134+ bool exp_right = !settings_.explorer_left ;
2135+ if (ImGui::MenuItem (" Explorer: Right" , nullptr , &exp_right)) settings_.explorer_left = false ;
2136+ ImGui::Unindent ();
2137+ }
21302138 bool ww = settings_.word_wrap ;
21312139 if (ImGui::MenuItem (" Word Wrap" , nullptr , &ww)) toggle_word_wrap ();
21322140 bool tabs = settings_.show_tabs ;
@@ -2360,6 +2368,15 @@ void EditorApp::render_editor_area() {
23602368 }
23612369 }
23622370
2371+ // Render explorer sidebar (left or right based on setting)
2372+ if (show_file_tree_) {
2373+ if (settings_.explorer_left ) {
2374+ // Explorer on LEFT side - rendered BEFORE editor
2375+ render_sidebar ();
2376+ ImGui::SameLine ();
2377+ }
2378+ }
2379+
23632380 // Now scrollable editor content
23642381 ImGui::BeginChild (" ##EditorContent" , ImVec2 (-1 , -1 ), false );
23652382
0 commit comments