put cursor on found text in less or vi?
Little Girl
littlergirl at gmail.com
Wed Sep 25 16:50:36 UTC 2024
Hey there,
Karl Auer wrote:
>After that testimonial, how could I not check it out? :-)
Believe it or not, that was me holding back. It really is an
incredible program. If you do any developing, it should blow your
mind nicely. If you plan on thoroughly exploring all of its
configurations and plug-ins, prepare to spend a few happy hours
playing around.
>I first tried a 2.5GB text file containing around a quarter-million
>lines of widely varying lengths, some around three-quarters of a
>million characters long. Geany was unable to load the entire file,
>reporting "Error reading from file: Bad address".
Interesting. It sounds like it might not be size-related. Do you have
more than one file that size you could try it with?
>It WAS able to load a 1.5GB file with about 140,000 lines, and after
>a slight hesitancy when first loaded, moving about in the file
>vertically was very comfortable. Moving horizontally in the long
>lines was noticeably worse, but not unusably slow.
Good to know. I think I'd be impressed by that, because that's a huge
file to me, let alone the monster you mentioned above.
>I searched for info on Geany's limits and couldn't find any. I found
>a fair few discussions that seemed to indicate it has no built-in
>limits, so not sure why it wouldn't load the larger file.
There are several Geany mailing lists. I'm in the Users list and the
developer is friendly and responsive:
https://lists.geany.org/postorius/lists
Someone asked about a file-size limit. The developer replied that
there's no hard limit in Geany and that it's limited by resources. He
also suggested viewing the output from the "Debug Messages" option in
the "Help" menu to try to find the cause:
https://lists.geany.org/hyperkitty/list/users@lists.geany.org/thread/XP2MOIPQMTYVKS4FPSEIKWXRUEXT4AGT
If that doesn't help and you'd like to try to get that monster to
open, it might be worth starting a new thread to see if he can come
up with something else to try.
>It does look very nice. Thanks for the pointer!
My pleasure. I hope you love it as much as I do. I wouldn't be
without it.
>PS: I don't hold it against an editor that it can't handle a big file
>or very long lines. Most editors are designed to edit configuration
>files, source code and suchlike, maybe a bit of JSON or XML. They
>excel in features, not in raw capacity. Geany dealt with its
>limitation sanely, unlike VSCode which just crashed.
It's probably because it's not just a text editor, but I'm glad to
hear that it performed so well since that's a test I never put it to.
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list