Mike Torrettinni 198 Posted January 10, 2021 Is anybody customizing source editor?  I usually just change font, right now using Source code pro, but just realized I can make comments non-italic and solve the years long annoyance with cut of last char 😉  Any other suggestions on small changes that can improve the source editor?  Share this post Link to post
dummzeuch 1515 Posted January 10, 2021 I usually turn on "Show tab characters" (source options) and "BRIEF cursor shapes" (display). I also change "Right Margin" to 100. Â And today I turned off Italic for comments, thanks for that hint. Share this post Link to post
Guest Posted January 10, 2021 @Mike Torrettinni you should be prohibited from asking more than 2 questions per week, we have life ! or you can bring soft drinks with each extra question. Also i always change the background color of the comments and strings, this will make them pop. Share this post Link to post
Mike Torrettinni 198 Posted January 10, 2021 4 minutes ago, Kas Ob. said: Also i always change the background color of the comments and strings, this will make them pop. Wanna share a combination you are using for a while? I just started testing different colors and not sure what will stick, right now testing different comments colors... not found the right one, yet. Share this post Link to post
Guest Posted January 10, 2021 There is not one simple type, i change these background often and mostly based on the current source i handling, but here is what i am doing right now  when i finish with this it will have a lot more comments and less strings after refactoring, and most likely with red background it will work too,  you choose what color suits you, like may be the red for the comments !  Share this post Link to post
Mike Torrettinni 198 Posted January 10, 2021 Oh, interesting. Right now testing orange comments on cream bg to be more subtle than the code, but still pop out: Â Share this post Link to post
Alexander Elagin 143 Posted January 10, 2021 I use a custom colour scheme based on the Solarized Dark from Notepad++: Â Share this post Link to post
Stano 143 Posted January 10, 2021 (edited) I would like the line breaks to be displayed. But that huge beast discourages me. Can it be changed? Edited January 10, 2021 by Stano Share this post Link to post
Mike Torrettinni 198 Posted January 10, 2021 23 minutes ago, Stano said: I would like the line breaks to be displayed. But that huge beast discourages me. Can it be changed? Check option Show line breaks: Â Share this post Link to post
Stano 143 Posted January 10, 2021 (edited) The question was: Can it be changed? I mean size of the trailing character. Edited January 10, 2021 by Stano Share this post Link to post
c0d3r 17 Posted January 10, 2021 I liked mine a lot with Ubuntu mono font: Â 1 Share this post Link to post
Mike Torrettinni 198 Posted January 10, 2021 19 minutes ago, Stano said: The question was: Can it be changed? I mean size of the trailing character. Oh, no, I never tried that so I have no clue how to do it, if possible. Share this post Link to post
Mike Torrettinni 198 Posted January 10, 2021 1 hour ago, c0d3r said: I liked mine a lot with Ubuntu mono font: Â What editor is this? Share this post Link to post
c0d3r 17 Posted January 10, 2021 11 minutes ago, Mike Torrettinni said: What editor is this? Original Delphi Editor Share this post Link to post
Mike Torrettinni 198 Posted January 10, 2021 Just now, c0d3r said: Original Delphi Editor Oh, that is the sample, ok got it. Share this post Link to post
dummzeuch 1515 Posted January 11, 2021 15 hours ago, Stano said: The question was: Can it be changed? I mean size of the trailing character. I think that's a side effect of fixes for this problem:  https://stackoverflow.com/questions/25295980/delphi-2006-2010-error-cannot-create-file-c-users-admin-appdata-local-temp-ed  E.g. if you are using my dzeditorlineendsfix tool.  It prevents the font file used by the editor for the line ends to be loaded. Since that is only necessary for Delphi 2006 to 2010 you may not need it any more. Share this post Link to post
Stano 143 Posted January 11, 2021 I think that's a side effect of fixes for this problem: I kind of don't understand that. It does not matter. Â E.g. if you are using my dzeditorlineendsfix tool. I do not use it. Â I did an experiment and tried different fonts. The trailing character is always the same. Each time at the full height of the line. The Courier New I use is probably the highest. It's not something I really need. I close my problem. Share this post Link to post
Lars Fosdal 1793 Posted January 11, 2021   SourceCode Pro - No italics BG = Cream Current line = light greenish numbers = red comments = dark gray as I want the code to stand out and keep the comments low key - after all, they should only be necessary as a last effort read 😛 1 Share this post Link to post
Mike Torrettinni 198 Posted January 11, 2021 It would be really cool to be able to quickly change color scheme, using keyboard shortcuts: Subtle comments when you want to focus on code, and stand-out comments when you want to read the comments quickly: Â Â Share this post Link to post
Mike Torrettinni 198 Posted January 11, 2021 @Kas Ob. and @Lars Fosdal I see you both make sure strings stand out, why is that? Share this post Link to post
Guest Posted January 11, 2021 39 minutes ago, Mike Torrettinni said: I see you both make sure strings stand out, why is that? Localization or converting into constant...etc , but also strings is marker to see code, so when i am reading code i can collect images in brain on the layout code, or just strings make things more colorful. 🙂  Never thought about why i like them like that. Share this post Link to post
Attila Kovacs 631 Posted January 11, 2021 On 1/10/2021 at 12:54 PM, Mike Torrettinni said: years long annoyance with cut of last char what is that? Â btw. turning off italic for the comments also reduces the line height by 1 or 2 pixels, cool Share this post Link to post
Mike Torrettinni 198 Posted January 11, 2021 Just now, Attila Kovacs said: what is that? You never noticed how end of comment line is cut off in italic? See example of characters at the end: d looks like o f looks like t Share this post Link to post
Attila Kovacs 631 Posted January 12, 2021 No, never, but I have to admit, the first thing I do after a Delphi install is to dump every fancy skinning (and other) bpl's from it. Share this post Link to post