fortrangoingonforty/facsimile / 77b404e

Browse files

Fix line length issues for v0.9.0

Authored by espadonne
SHA
77b404ed5c7ef8faecb6fe3d9e130b6a0793bf26
Parents
39b7508
Tree
70994d4

2 changed files

StatusFile+-
M src/commands/command_handler_module.f90 11 5
M src/ui/workspace_symbols_panel_module.f90 3 1
src/commands/command_handler_module.f90modified
@@ -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
src/ui/workspace_symbols_panel_module.f90modified
@@ -442,7 +442,9 @@ contains
442
 
442
 
443
                 ! Add kind indicator
443
                 ! Add kind indicator
444
                 if (allocated(panel%filtered_symbols(i)%kind_name)) then
444
                 if (allocated(panel%filtered_symbols(i)%kind_name)) then
445
-                    line = trim(line) // "[" // trim(panel%filtered_symbols(i)%kind_name(1:min(3, len_trim(panel%filtered_symbols(i)%kind_name)))) // "] "
445
+                    line = trim(line) // "[" // &
446
+                        trim(panel%filtered_symbols(i)%kind_name(1: &
447
+                        min(3, len_trim(panel%filtered_symbols(i)%kind_name)))) // "] "
446
                 else
448
                 else
447
                     line = trim(line) // "    "
449
                     line = trim(line) // "    "
448
                 end if
450
                 end if