Recent

Author Topic: which font shows curly brackets better?  (Read 1573 times)

Weiss

  • Full Member
  • ***
  • Posts: 229
which font shows curly brackets better?
« on: March 07, 2025, 07:02:47 am »
Quick question, which font should I chose for Lazarus code display, so that curley brackets would stand out from usual parenthesis?

cdbc

  • Hero Member
  • *****
  • Posts: 2572
    • http://www.cdbc.dk
Re: which font shows curly brackets better?
« Reply #1 on: March 07, 2025, 07:16:13 am »
Hi
I use "DejaVu Sans Mono" 12 pt. in my editor and that's pretty good...  8)
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

paweld

  • Hero Member
  • *****
  • Posts: 1561
Re: which font shows curly brackets better?
« Reply #2 on: March 07, 2025, 07:36:34 am »
Intel One Mono - see an attachment. Font size: 12
Best regards / Pozdrawiam
paweld

Weiss

  • Full Member
  • ***
  • Posts: 229
Re: which font shows curly brackets better?
« Reply #3 on: March 07, 2025, 07:39:20 am »

n7800

  • Hero Member
  • *****
  • Posts: 594
  • Lazarus IDE contributor
    • GitLab profile
Re: which font shows curly brackets better?
« Reply #4 on: March 08, 2025, 12:59:27 am »
If you want to go really radical, you can set up User Defined Markup to highlight any brackets in any color (font, background, style, frame). Example in attachment.

However, this feature is quite complex to set up (especially priorities), and the wiki article is not complete. But this function has a huge number of use cases.

 

TinyPortal © 2005-2018