Recent

Author Topic: [Solved] IDE line selection issues in Linux Mint  (Read 1889 times)

JD

  • Hero Member
  • *****
  • Posts: 1910
[Solved] IDE line selection issues in Linux Mint
« on: February 04, 2022, 02:55:28 pm »
Hi there everyone,

Recently for some reason, I've been having problems with the Lazarus IDE in Linux Mint when a line/lines are selected.

For example, if I select a line and press the DELETE key, instead of deleting the line, the first character on the next line is deleted. If I highlight a line/lines and press the UP/DOWN arrow keys to move the cursor, the lines stay highlighted. finally, if I copy some lines and attempt to paste the copied lines to another highlighted section of code, intead of overwriting the highlighted section, it just pastes the new code without overwriting the old code.

Has anyone had this kind of issue? What can I do to correct it?

Cheers,

JD
« Last Edit: February 08, 2022, 05:01:02 pm by JD »
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12202
  • Debugger - SynEdit - and more
    • wiki
Re: IDE line selection issues in Linux Mint
« Reply #1 on: February 04, 2022, 03:20:47 pm »
Maybe you disabled "Overwrite block" from Tools > Options > Editor > General (Section "Selection" at the bottom of the tab/page)?


JD

  • Hero Member
  • *****
  • Posts: 1910
Re: IDE line selection issues in Linux Mint
« Reply #2 on: February 04, 2022, 04:07:23 pm »
Maybe you disabled "Overwrite block" from Tools > Options > Editor > General (Section "Selection" at the bottom of the tab/page)?

I didn't. See the screenshot.

JD

Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12202
  • Debugger - SynEdit - and more
    • wiki
Re: IDE line selection issues in Linux Mint
« Reply #3 on: February 04, 2022, 04:57:03 pm »
Recently for some reason, I've been having problems with the Lazarus IDE in Linux Mint when a line/lines are selected.

For example, if I select a line and press the DELETE key, instead of deleting the line, the first character on the next line is deleted. If I highlight a line/lines and press the UP/DOWN arrow keys to move the cursor, the lines stay highlighted. finally, if I copy some lines and attempt to paste the copied lines to another highlighted section of code, intead of overwriting the highlighted section, it just pastes the new code without overwriting the old code.

Disable "Persistent Block"

This option means, that the selection remains active, even if the caret moves away (IIRC what ctrl K,B and ctrl K, K did/do).


WooBean

  • Sr. Member
  • ****
  • Posts: 303
Re: IDE line selection issues in Linux Mint
« Reply #4 on: February 04, 2022, 05:03:27 pm »
Hi,
I tried to repeat the issue on Linux Mint 20.1 Ulyssa, Lazarus 2.20/FPC 3.2.2 64 bit but selected text in editor window is deleted as it should be.  Only selected characters are deleted and nothing more by pressing DEL key. My installation was from Lazarus website with DEB packages.

Edited:
"Peristent block" option is unmarked in my IDE, of course.

WooBean
« Last Edit: February 04, 2022, 05:08:09 pm by WooBean »
Platforms: Win7/64, Linux Mint 22.1 Xia

JD

  • Hero Member
  • *****
  • Posts: 1910
Re: IDE line selection issues in Linux Mint
« Reply #5 on: February 06, 2022, 01:22:25 pm »
Recently for some reason, I've been having problems with the Lazarus IDE in Linux Mint when a line/lines are selected.

For example, if I select a line and press the DELETE key, instead of deleting the line, the first character on the next line is deleted. If I highlight a line/lines and press the UP/DOWN arrow keys to move the cursor, the lines stay highlighted. finally, if I copy some lines and attempt to paste the copied lines to another highlighted section of code, intead of overwriting the highlighted section, it just pastes the new code without overwriting the old code.

Disable "Persistent Block"

This option means, that the selection remains active, even if the caret moves away (IIRC what ctrl K,B and ctrl K, K did/do).

Thanks a lot. That fixed it.

Cheers,

JD
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

 

TinyPortal © 2005-2018