Recent

Author Topic: [LINUX] Code display gone missing  (Read 201 times)

QEnnay

  • Jr. Member
  • **
  • Posts: 61
[LINUX] Code display gone missing
« on: February 15, 2021, 03:59:33 pm »
Hi, just installed a new version of Linux Mint and Laz 2.0.10 and all working fine except the Code display or whatever it is called.

When I start to type a func/proc name it displays the structure, MessageDlg(const Msg : String.. etc

How do I turn it on? I have not changed any settings yet, so pretty sure I did not turn it off. :)

Thanks
« Last Edit: February 15, 2021, 04:02:23 pm by QEnnay »
Linux-Mint 20.1 (Edge version) + Cinnamon
Lenovo Flex 5 Ryzen 5 4500, 512GB-NVMe, 16GB memory

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6888
  • Debugger - SynEdit - and more
    • wiki
Re: [LINUX] Code display gone missing
« Reply #1 on: February 15, 2021, 04:23:55 pm »
Do you mean

1) The "code completion"
The drop-down, that displays possible function names.
E.g. you type Form1.Ca
An it displays Caption, Cascade, CanFocus, Ca.....

Ctrl-Space


2) The "Parameter Hint"
When you typed
  IntToHex(
It displays a hint, that says
  Number: Integer; Length: Integer
  Number: Int64; Length: Integer
  ...

Shift Ctrl Space



Tools > OPtion > Editor > Completion and hints

Set the "delay" and enable the checkboxes.


QEnnay

  • Jr. Member
  • **
  • Posts: 61
Re: [LINUX] Code display gone missing
« Reply #2 on: February 15, 2021, 06:43:07 pm »
Ahhh, OK thanks it was #2 -- but I changed the items suggested and still nothing. I then tried the Shift+Ctrl+Space and it declared an error "Missing file," and went to the top Uses clause.

I checked the Project Inspector (PI) and the correct Name, Path etc was there for the "missing" file.

I deleted it from the PI then navigated to the file, loaded it into Editor and added it to the PI again. Now the Parameter Hints are working as of old.

A small bug? Other files defined in the PI are all OK and on the same basic Path as the formerly "missing" one, so beats me.
Linux-Mint 20.1 (Edge version) + Cinnamon
Lenovo Flex 5 Ryzen 5 4500, 512GB-NVMe, 16GB memory

 

TinyPortal © 2005-2018