Recent

Author Topic: Lazarus character map  (Read 1495 times)

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Lazarus character map
« on: March 19, 2024, 10:36:38 am »
In another topic it was suggested to use Lazarus character map.
...
A nice tool is the Lazarus character map in menu Edit.

Searching the forum, I can find more topics where this tool is mentioned, but I can't find it in the IDE.
Specifically, it's not under menu Edit (see attached screenshot)...

Where is it? Should I install some additional package? %)

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Lazarus character map
« Reply #1 on: March 19, 2024, 10:42:37 am »
I forgot to mention what my environment is, sorry.

Lazarus 3.3 (fixes) 32-bit, fpc 3.2.2, Windows 10.

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Lazarus character map
« Reply #2 on: March 19, 2024, 11:05:13 am »
It has been moved into separate packages,  charactermappkg (runtime code containing the charactermap form) and charactermap_ide_pkg (designtime code for IDE integration). The designtime package normally is installed by default, I wonder why it is not in your case. Go to "Package" > "Install/Uninstall packages", select charactermap_ide_pkg in the right list, click "Install Selection", then "Rebuild". When the installation is complete there should be a new "Character map" item in the "Edit" menu.

dseligo

  • Hero Member
  • *****
  • Posts: 1196
Re: Lazarus character map
« Reply #3 on: March 19, 2024, 11:07:09 am »
In 2.2.6 and 3.2.0 it's under Edit/Insert from Character Map...

But it's not there in trunk (3.99).

I didn't install any special package (only Lazreport, Zeos, BGRA, fpspreadsheet).

LV

  • New Member
  • *
  • Posts: 24
Re: Lazarus character map
« Reply #4 on: March 19, 2024, 11:09:36 am »
Yes, Lazarus 2.2.6 FPC 3.2.2

Thaddy

  • Hero Member
  • *****
  • Posts: 14214
  • Probably until I exterminate Putin.
Re: Lazarus character map
« Reply #5 on: March 19, 2024, 11:15:23 am »
Yes it is missing in 3.99 from today. Regression.
Specialize a type, not a var.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Lazarus character map
« Reply #6 on: March 19, 2024, 11:19:11 am »
It has been moved into separate packages,  charactermappkg (runtime code containing the charactermap form) and charactermap_ide_pkg (designtime code for IDE integration). The designtime package normally is installed by default, I wonder why it is not in your case. Go to "Package" > "Install/Uninstall packages", select charactermap_ide_pkg in the right list, click "Install Selection", then "Rebuild". When the installation is complete there should be a new "Character map" item in the "Edit" menu.

Thank you, wp. After rebuilding IDE from command line with bigide, it appeared in Edit menu. It's been a while since last time I rebuilt with bigide, these packages must have been added after that.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Lazarus character map
« Reply #7 on: March 19, 2024, 11:19:57 am »
But it's not there in trunk (3.99).

Yes it is missing in 3.99 from today. Regression.

Did you try rebuilding with bigide?

Thaddy

  • Hero Member
  • *****
  • Posts: 14214
  • Probably until I exterminate Putin.
Re: Lazarus character map
« Reply #8 on: March 19, 2024, 11:24:42 am »
No, I never do. It is a bad option. I wish it was gone.
Specialize a type, not a var.

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Lazarus character map
« Reply #9 on: March 19, 2024, 11:59:48 am »
Did a fresh checkout into an empty folder, then "make bigide" to build the initial IDE --> the character map is contained in the "Edit" menu.

But when you have an "old" repositiory which you are updating only from time to time and you rebuild the IDE from the "Tool" command you miss the changes made in the package configuration. And this is what happened when the charactermap became a separate package. No regression. When you work with Laz/main, you work with the development version, and you must be aware that things can change in an unexpected way.

Zoran

  • Hero Member
  • *****
  • Posts: 1829
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Lazarus character map
« Reply #10 on: March 19, 2024, 12:12:44 pm »
Did a fresh checkout into an empty folder, then "make bigide" to build the initial IDE --> the character map is contained in the "Edit" menu.

But when you have an "old" repositiory which you are updating only from time to time and you rebuild the IDE from the "Tool" command you miss the changes made in the package configuration. And this is what happened when the charactermap became a separate package. No regression. When you work with Laz/main, you work with the development version, and you must be aware that things can change in an unexpected way.

Yes, that is what happened, thanks.

dseligo

  • Hero Member
  • *****
  • Posts: 1196
Re: Lazarus character map
« Reply #11 on: March 19, 2024, 12:22:41 pm »
But it's not there in trunk (3.99).

Yes it is missing in 3.99 from today. Regression.

Did you try rebuilding with bigide?

No, but adding package charactermap_ide_pkg as wp suggested also worked.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4460
  • I like bugs.
Re: Lazarus character map
« Reply #12 on: March 19, 2024, 06:52:35 pm »
No, I never do. It is a bad option. I wish it was gone.
"make bigide" is used for building release versions. It is not bad.  :)
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Lazarus character map
« Reply #13 on: March 19, 2024, 06:59:05 pm »
No, I never do. It is a bad option. I wish it was gone.
"make bigide" is used for building release versions. It is not bad.  :)

I think Thaddy could explain himself a bit better :-)

I'd certainly be interested in what he meant, since as we were discussing a few weeks ago the alternative- installing packages from inside the IDE- tends to get things wrong if one is attempting to build IDEs for different widget sets.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018