@@ -1378,7 +1378,9 @@ contains |
| 1378 | character(len=:), allocatable :: ref_uri | 1378 | character(len=:), allocatable :: ref_uri |
| 1379 | integer :: ref_line, ref_col | 1379 | integer :: ref_line, ref_col |
| 1380 | | 1380 | |
| 1381 | - if (get_selected_reference_location(editor%references_panel, ref_uri, ref_line, ref_col)) then | 1381 | + if (get_selected_reference_location( & |
| | 1382 | + editor%references_panel, & |
| | 1383 | + ref_uri, ref_line, ref_col)) then |
| 1382 | if (len(ref_uri) >= 7 .and. ref_uri(1:7) == "file://") then | 1384 | if (len(ref_uri) >= 7 .and. ref_uri(1:7) == "file://") then |
| 1383 | ! Jump to the reference location | 1385 | ! Jump to the reference location |
| 1384 | editor%cursors(editor%active_cursor)%line = ref_line | 1386 | editor%cursors(editor%active_cursor)%line = ref_line |
@@ -1461,9 +1463,11 @@ contains |
| 1461 | if (allocated(editor%tabs(editor%active_tab_index)%panes) .and. & | 1463 | if (allocated(editor%tabs(editor%active_tab_index)%panes) .and. & |
| 1462 | size(editor%tabs(editor%active_tab_index)%panes) > 0) then | 1464 | size(editor%tabs(editor%active_tab_index)%panes) > 0) then |
| 1463 | pane_idx = editor%tabs(editor%active_tab_index)%active_pane_index | 1465 | pane_idx = editor%tabs(editor%active_tab_index)%active_pane_index |
| 1464 | - if (pane_idx > 0 .and. pane_idx <= size(editor%tabs(editor%active_tab_index)%panes)) then | 1466 | + if (pane_idx > 0 .and. pane_idx <= & |
| | 1467 | + size(editor%tabs(editor%active_tab_index)%panes)) then |
| 1465 | ! Copy FROM pane buffer TO local buffer (for rendering) | 1468 | ! Copy FROM pane buffer TO local buffer (for rendering) |
| 1466 | - call copy_buffer(buffer, editor%tabs(editor%active_tab_index)%panes(pane_idx)%buffer) | 1469 | + call copy_buffer(buffer, & |
| | 1470 | + editor%tabs(editor%active_tab_index)%panes(pane_idx)%buffer) |
| 1467 | ! Also sync to tab buffer (to keep them consistent) | 1471 | ! Also sync to tab buffer (to keep them consistent) |
| 1468 | call copy_buffer(editor%tabs(editor%active_tab_index)%buffer, buffer) | 1472 | call copy_buffer(editor%tabs(editor%active_tab_index)%buffer, buffer) |
| 1469 | end if | 1473 | end if |
@@ -1471,9 +1475,11 @@ contains |
| 1471 | | 1475 | |
| 1472 | ! Render the updated buffer immediately | 1476 | ! Render the updated buffer immediately |
| 1473 | if (editor%fuss_mode_active) then | 1477 | if (editor%fuss_mode_active) then |
| 1474 | - call render_screen_with_tree(buffer, editor, allocated(search_pattern), match_case_sensitive) | 1478 | + call render_screen_with_tree(buffer, editor, & |
| | 1479 | + allocated(search_pattern), match_case_sensitive) |
| 1475 | else | 1480 | else |
| 1476 | - call render_screen(buffer, editor, allocated(search_pattern), match_case_sensitive) | 1481 | + call render_screen(buffer, editor, & |
| | 1482 | + allocated(search_pattern), match_case_sensitive) |
| 1477 | end if | 1483 | end if |
| 1478 | | 1484 | |
| 1479 | ! Reset flag and exit loop | 1485 | ! Reset flag and exit loop |