I have a file with 1.5 million rows. Geany 1.27 on Lubuntu (Ubuntu Xenial 16.04.1 LTS). Scrolling down with the down arrow key stops at line 1,118,483. I can go further down with page down or the scroll bar and reposition the cursor there, but the down arrow key stops again after a few lines down. No such behaviour in SciTe. Arrow up key keeps working fine all the time. File stats (with wc): 1514885 (lines) 50686174 (chars).
Its strange that Scite behaves differently since (AFAICT) the down arrow key is totally handled in Scintilla not in Geany. What version of Scintilla is your Scite using?
SciTe does not really mention a "Scintilla" version, but it says: Version 3.6.0 compiled for GTK+ 3.16.7 Aug 17 2015 10:20:12 by Neil Hodgson.
On Thursday, 26 January 2017, 11:39, elextr notifications@github.com wrote:
Its strange that Scite behaves differently since (AFAICT) the down arrow key is totally handled in Scintilla not in Geany. What version of Scintilla is your Scite using?— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
I think the Scite version matches the Scintilla version, so 3.6.0, and Geany 1.27 uses 3.6.3 IIUC. Not a big difference.
What filetype is your file?
With current Git Geany I can use the down arrow key anywhere in a text file of 3 million+ lines. I do observe it gets slower the further down I get, but it never stops.
It's a simple text file (csv, 4 fields per line, first three fields digits only, last field alpha, field sep is semicolon (";"), line ending \x0a ).
On Thursday, 26 January 2017, 12:45, elextr notifications@github.com wrote:
I think the Scite version matches the Scintilla version, so 3.6.0, and Geany 1.27 uses 3.6.3 IIUC. Not a big difference.What filetype is your file?With current Git Geany I can use the down arrow key anywhere in a text file of 3 million+ lines. I do observe it gets slower the further down I get, but it never stops.— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
On 2017-01-26 02:10 AM, Chayyoo wrote:
I have a file with 1.5 million rows. Geany 1.27 on Lubuntu (Ubuntu Xenial 16.04.1 LTS). Scrolling down with the down arrow key stops at line 1,118,483. I can go further down with page down or the scroll bar and reposition the cursor there, but the down arrow key stops again after a few lines down. No such behaviour in SciTe. Arrow up key keeps working fine all the time. File stats (with wc): 1514885 (lines) 50686174 (chars).
Do you have any plugins enabled? Try to run Geany like `geany -v -p the_file.csv` and see if it still happens, noting any unusual output on the terminal.
Regards, Matthew Brush
Did a git clone and build, to no avail.No unusual command line output either:kris@pc:~/Downloads/geany$ geany -v -p ~/BT/the_file.csv Geany-INFO: Geany 1.27, nl_NL.UTF-8 Geany-INFO: GTK 2.24.30, GLib 2.48.2 Geany-INFO: System data dir: /usr/share/geany Geany-INFO: User config dir: /home/kris/.config/geany Geany-INFO: System plugin path: /usr/lib/x86_64-linux-gnu/geany Geany-INFO: Added filetype Genie (61). Geany-INFO: Added filetype Cython (62). Geany-INFO: Added filetype Scala (63). Geany-INFO: Added filetype CUDA (64). Geany-INFO: Added filetype JSON (65). Geany-INFO: Added filetype Clojure (66). Geany-INFO: Added filetype Graphviz (67). Geany-INFO: /home/kris/BT/the_file.csv : None (UTF-8)
On Thursday, 26 January 2017, 16:37, Matthew Brush notifications@github.com wrote:
On 2017-01-26 02:10 AM, Chayyoo wrote:
I have a file with 1.5 million rows. Geany 1.27 on Lubuntu (Ubuntu Xenial 16.04.1 LTS). Scrolling down with the down arrow key stops at line 1,118,483. I can go further down with page down or the scroll bar and reposition the cursor there, but the down arrow key stops again after a few lines down. No such behaviour in SciTe. Arrow up key keeps working fine all the time. File stats (with wc): 1514885 (lines) 50686174 (chars).
Do you have any plugins enabled? Try to run Geany like `geany -v -p the_file.csv` and see if it still happens, noting any unusual output on the terminal.
Regards, Matthew Brush — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
@Chayyoo just to confirm, you did a git clone and build of Geany, of 1.27? Why not try latest release (1.29) or even HEAD?
I just tried 1.29. The strange behaviour is still there. It's apparently not a rendering problem, since the page down button works very well and fast, and the cursor goes along with it (stays visible).
As I said above I couldn't find where Geany does anything with the down arrow key, AFAICT if it gets one, it just checks its not something it cares about and then passes it to Scintilla.
You can see in `keybindings.c` where Geany defines scintilla to handle `ctrl+down` and `alt+down` but nowhere is plain `down` defined or undefined by Geany that I can find, so it will be the Scintilla default.
We have the same problem on a PC with a brand new install of Arch linux and the latest version of Geany (1.29). There is however no such problem on a laptop with Lubuntu 14.10 and Geany 1.23.1...
On Friday, 27 January 2017, 11:26, elextr notifications@github.com wrote:
As I said above I couldn't find where Geany does anything with the down arrow key, AFAICT if it gets one, it just checks its not something it cares about and then passes it to Scintilla.You can see in keybindings.c where Geany defines scintilla to handle ctrl+down and alt+down but nowhere is plain down defined or undefined by Geany that I can find, so it will be the Scintilla default.— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Could you try 1.29 on the Lubuntu machine then?
Also, what about using a fresh configuration? `geany -v -c /tmp/tempconfig the_file.csv`
Interesting. On this machine (Lubuntu 14.10) the situation was okay with Genie 1.23.1 from the Ubuntu repo.I installed Geany 1.29 (from source) over it: situation still okay!But with with the new config file (in /tmp): NOT okay!I attach a diff of the config files (last used files removed). Hope this helps.
On Friday, 27 January 2017, 19:04, Colomban Wendling notifications@github.com wrote:
Could you try 1.29 on the Lubuntu machine then?Also, what about using a fresh configuration? geany -v -c /tmp/tempconfig the_file.csv— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I attach a diff of the config files
Umm, think you forgot :smile:
Likely got stripped by GitHub from the email. Maybe try uploading it through the interface
Diff again. [geanyconfdiff.txt](https://github.com/geany/geany/files/736974/geanyconfdiff.txt)
Hum, that diff isn't too readable. Could you try using that script: https://gist.github.com/b4n/a15e6fc6cdaeb89c9657225afd481b04? Should give an easier diff (sorted, and using Unified format)
Here it is.
On Saturday, 28 January 2017, 17:25, Colomban Wendling notifications@github.com wrote:
Hum, that diff isn't too readable. Could you try using that script: https://gist.github.com/b4n/a15e6fc6cdaeb89c9657225afd481b04? Should give an easier diff (sorted, and using Unified format)— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
--- /dev/fd/63 2017-01-28 18:00:39.238185413 +0100 +++ /dev/fd/62 2017-01-28 18:00:39.234185387 +0100 @@ -5,9 +5,8 @@ number_non_ft_menu_items=0
[files] -current_page=0 -FILE_NAME_0=50681061;None;0;EUTF-8;1;1;0;%2Fhome%2Fkris%2FDocumenten%2FBT_Clinical%2FSnomed%2FBT_Relations_20170126.csv;0;4 -recent_files=/home/kris/Documenten/BT_Clinical/Snomed/BT_Relations_20170126.csv; +current_page=-1 +recent_files=/home/kris/Downloads/geany-1.29/scintilla/README;/home/kris/Downloads/geany-1.29/src/prefs.h;/home/kris/Documenten/BT_Clinical/Snomed/BT_Relations_20170126.csv;/tmp/geanyconf.diff;/home/kris/Muziek/Lilypond/paulus_9.ly;/home/kris/Muziek/Lilypond/Mijn_leven_Heer.ly;/home/kris/Muziek/Lilypond/ghesquiere_agnus.ly;/home/kris/Muziek/Lilypond/Wer_nur_den_lieben_Gott.ly;/home/kris/Muziek/Lilypond/paulus_9_orgel.ly;/home/kris/Documenten/BT_Clinical/db.pl;/home/kris/Documenten/BT_Clinical/Web/cgi-bin/ccdebug_20161214.pl;/media/kris/AB54-B91A/BT_Clinical/cgi-bin/ccdebug_20161214.pl;/home/kris/Documenten/BT_Clinical/text;/home/kris/Documenten/BT_Clinical/ccdebug.pl;/home/kris/Documenten/Genealogie/Melle_18.Vermeire-Zwysen.txt;/home/kris/Documenten/db.pl;/home/kris/Documenten/BT_Clinical/algoritme_cc_20160707.txt;/home/kris/Documenten/BT_Clinical/db/poc.xml;/home/kris/Documenten/BT_Clinical/db/make_xml.pl;/home/kris/Documenten/BT_Clinical/Garnier/Garnier scanned/script.pl;/home/kris/Documenten/BT_Clinical/Garnier/Garnier scanned/Gar01-000.hocr;/home/kris/Documenten/BT_Clinical/Garnier/Garnier scanned/Garnier.html;/home/kris/Documenten/BT_Clinical/Garnier/Garnier scanned/script2.pl;/home/kris/Documenten/BT_Clinical/Garnier/Garnier scanned/garnier.pl;/home/kris/Documenten/BT_Clinical/Vddriessche/script.pl;/home/kris/Documenten/BT_Clinical/Vddriessche/VddriesscheFN_partim00-000.hocr;/home/kris/Documenten/BT_Clinical/Vddriessche/Vddriessche.html;/home/kris/Documenten/BT_Clinical/Vddriessche/vddriessche.html;/home/kris/Documenten/BT_Clinical/timesheet.txt;/home/kris/Documenten/BT_Clinical/Vddriessche/VddriesscheFN_partim00-017.hocr;/home/kris/Documenten/BT_Clinical/Vddriessche/VddriesscheFN_partim00-018.hocr;/home/kris/Documenten/BT_Clinical/Vddriessche/VddriesscheFN_partim00-002.hocr;/tmp/denemo-automake(1).diff;/home/kris/Muziek/Lilypond/Abendlied_4st.ly; recent_projects=
[geany] @@ -37,7 +36,7 @@ detect_indent_width=false disk_check_timeout=30 documents_show_paths=true -editor_font=Monospace 10 +editor_font=Droid Sans Mono 10 extract_filetype_regex=-\*-\s*([^\s]+)\s*-\*- find_selection_type=0 fullscreen=false @@ -54,11 +53,11 @@ long_line_column=72 long_line_enabled=true long_line_type=0 -mru_length=10 +mru_length=40 msgwin_compiler_visible=true -msgwindow_position=487 +msgwindow_position=521 msgwindow_visible=true -msgwin_font=Monospace 9 +msgwin_font=Sans 9 msgwin_messages_visible=true msgwin_orientation=1 msgwin_scribble_visible=true @@ -97,8 +96,8 @@ pref_toolbar_use_gtk_default_icon=true pref_toolbar_use_gtk_default_style=true replace_and_find_by_default=true -scribble_pos=64 -scribble_text=Type hier wat u maar wilt; gebruik het als notitie-/krabbelbord. +scribble_pos=57 +scribble_text=Type hier wat u wilt, gebruik het als notitie/krabbelbord scroll_lines_around_cursor=0 scroll_stop_at_last_line=true show_editor_scrollbars=true @@ -116,7 +115,7 @@ sidebar_pos=0 sidebar_symbol_visible=true sidebar_visible=true -statusbar_template=regel: %l / %L kol: %c sel: %s %w %t %mmode: %M codering: %e bestandstype: %f bereik: %S +statusbar_template= statusbar_visible=true switch_msgwin_pages=false symbolcompletion_max_height=10 @@ -147,7 +146,7 @@
[printing] page_header_basename=false -page_header_datefmt=%c +page_header_datefmt= print_cmd= print_line_numbers=true print_page_header=true @@ -178,37 +177,39 @@ find_regexp_multiline=false position_fif_x=-1 position_fif_y=-1 -position_find_x=-1 -position_find_y=-1 -position_replace_x=-1 -position_replace_y=-1 +position_find_x=392 +position_find_y=310 +position_replace_x=561 +position_replace_y=364 pref_search_always_wrap=false pref_search_current_file_dir=true pref_search_hide_find_dialog=false -replace_all_expanded=false +replace_all_expanded=true replace_case_sensitive=false -replace_close_dialog=true +replace_close_dialog=false replace_escape_sequences=false replace_match_whole_word=false replace_match_word_start=false -replace_regexp=false replace_regexp_multiline=false +replace_regexp=true replace_search_backwards=false
[tools] -browser_cmd=firefox +browser_cmd=sensible-browser grep_cmd=grep -terminal_cmd=xterm -e "/bin/sh %c" +terminal_cmd=x-terminal-emulator -e "/bin/sh %c"
[VTE] colour_back=#000000 colour_fore=#FFFFFF cursor_blinks=false +emulation=xterm enable_bash_keys=true follow_path=false font=Monospace 10 ignore_menu_bar_accel=false -last_dir=/home/kris +image= +last_dir=/home/kris/Muziek/Lilypond load_vte=true run_in_vte=false scrollback_lines=500
Looks like it was stripped again? New try. [geanyconfdiff.txt](https://github.com/geany/geany/files/737018/geanyconfdiff.txt)
Well, I can't see anything, just to confirm, Geany saw the filetype as `None` in both cases?
Yes.
On Sunday, 29 January 2017, 0:51, elextr notifications@github.com wrote:
Well, I can't see anything, just to confirm, Geany saw the filetype as None in both cases?— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
github-comments@lists.geany.org