Recent

Author Topic: Coding Color  (Read 23500 times)

RAW

  • Hero Member
  • *****
  • Posts: 868
Coding Color
« on: February 13, 2017, 02:00:08 am »
Just for fun:
What EditorCodeColor do you use ???

On a Windows system it's easy to import *.xml ColorSchemes, just in case someone never tried this: Just copy the *.xml files to "C:\Users\USER\AppData\Local\lazarus\userschemes"... And if there is no "userschemes" folder then create one. After that start or restart LAZARUS and check the dropdown menu (EDITOR: PREFERENCES). Should be visible between the default presets... (DEFAULT, DELPHI, OCEAN ...) If you use a SECONDARY INSTALLATION then you could find the "CONFIG"-path in the installation directory: lazarus.cfg (same DIR as lazarus.exe).

And yes, I like big bold fonts... this is TERMINAL Size 13... probably not the best font in the world, but I can't help myself I like the look... it looks somewhat heavy on a big monitor... :)
« Last Edit: June 12, 2019, 02:24:18 am by RAW »
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Coding Color
« Reply #1 on: February 13, 2017, 02:28:26 am »
I just use the defaults, but with font size 9 instead of 10, and a margin width of 130 instead of the default 80 (because it's not 1983 anymore, you know.)
« Last Edit: February 13, 2017, 02:34:48 am by Akira1364 »

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Coding Color
« Reply #2 on: February 13, 2017, 03:20:11 am »
Quote
...and a margin width of 130 instead of the default 80 (because it's not 1983 anymore, you know.)
Good Tip... :) I just googled it's 2017, but I guess Google tricked me...

I like 80 if possible... could be useful on older Notebooks with 1280x800 or something like that...  :)
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

Akira1364

  • Hero Member
  • *****
  • Posts: 561
Re: Coding Color
« Reply #3 on: February 13, 2017, 03:22:56 am »
1280x800? I don't think that's a thing. Also a pixel width of 1280 could easily handle far more than a margin width of 80.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki
Re: Coding Color
« Reply #4 on: February 13, 2017, 04:25:16 am »

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Coding Color
« Reply #5 on: February 13, 2017, 05:42:13 am »
Have you tried this font http://sourcefoundry.org/hack/. It's best for coding. Never mix up O and 0 again.
« Last Edit: February 13, 2017, 08:31:00 am by Pascal »
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Coding Color
« Reply #6 on: February 13, 2017, 10:27:59 pm »
@Pascal
Thanks for the tip.

In my case I can't because "o" or "O" looks totally different in comparsion to "0" and the color is different.
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

DL7BJ

  • Newbie
  • Posts: 2
Re: Coding Color
« Reply #7 on: March 16, 2017, 11:25:40 pm »
I like this font https://github.com/belluzj/fantasque-sans

Especially for vim which I use for C/C++, Scripting, Python ...

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Coding Color
« Reply #8 on: March 17, 2017, 04:43:18 am »
Pascal classic of course on a 1080x1920 (portrait mode) monitor
« Last Edit: March 17, 2017, 10:49:50 am by marcov »

Thaddy

  • Hero Member
  • *****
  • Posts: 14210
  • Probably until I exterminate Putin.
Re: Coding Color
« Reply #9 on: March 17, 2017, 07:12:31 am »
When code compiles but I don't really want to look at it:
Specialize a type, not a var.

Kays

  • Hero Member
  • *****
  • Posts: 569
  • Whasup!?
    • KaiBurghardt.de
Re: Coding Color
« Reply #10 on: March 17, 2017, 09:56:23 am »
1280x800? I don't think that's a thing. Also a pixel width of 1280 could easily handle far more than a margin width of 80.
Err, yeahah, I'm currently using it right now:
Code: [Select]
$ xrandr | head -n3
Screen 0: minimum 8 x 8, current 1280 x 1520, maximum 32767 x 32767
LVDS1 connected 1280x800+0+720 (normal left inverted right x axis y axis) 261mm x 163mm
   1280x800      60.05*+
[search and insert sketch of that incredibly tall CRT here]

However, I do not use Lazaraus. My projects are quite small so vim(1), a screen(1) session and manually invoking fpc(1) as needed is sufficient for me.

[…] (because it's not 1983 anymore, you know.)
Touché.
Yours Sincerely
Kai Burghardt

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Coding Color
« Reply #11 on: March 17, 2017, 04:25:32 pm »
@DL7BJ: Thanks for the tip...
Inside Lazarus it looks weird... maybe I installed the wrong font or the font really needs AA.

« Last Edit: March 29, 2017, 06:48:28 am by RAW »
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

knuckles

  • Full Member
  • ***
  • Posts: 122
Re: Coding Color
« Reply #12 on: April 01, 2017, 12:45:59 am »
My eyes are bleeding  :o

I prefer good old Delphi 7 style, I find having a dark themed editor and then switching to light colored windows hurts my eyes really bad but each to there own :)

creaothceann

  • Full Member
  • ***
  • Posts: 117
Re: Coding Color
« Reply #13 on: April 15, 2017, 02:25:41 am »
Classic Turbo Pascal colors with some modifications.

- font: http://www.fixedsysexcelsior.com
- background: 0/0/160
- current line background: 0/0/255
- default text, numbers, strings: 255/255/0
- reserved words, symbols, case labels: 255/255/255
- compiler directive: 255/0/255
- comments: 0/255/255
- assembler: 0/255/0
- tab size: 8 characters, not replaced by spaces, "cursor skips tabs" enabled
- screen size: full screen 1920x1080; other IDE windows are on a second monitor to the left

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Coding Color
« Reply #14 on: April 18, 2017, 03:24:03 am »
@creaothceann, @marcov
I'm not a big fan of the yellow color...  :)

Maybe I should try 1080x1920 too... never thought about it... on the next boring sunday...


@knuckles
I use a dark classic theme so for me it's not a problem... Sometimes I use a middleGREEN classic theme (it's better for surfing the net). I'm not a big fan of the AERO or STANDARD W7 Theme. I normally disable Designs, AeLookupSvc and UxSms. Normally I don't need them...

Sometimes I need to light up the clBlue to something like 0,80,255... It depends on the monitor. My older Notebooks display the clBlue a lot different, much brighter than my new monitor...

« Last Edit: June 12, 2019, 02:28:59 am by RAW »
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

 

TinyPortal © 2005-2018