Can't I highlight part of code? lazarus / 9-Editor ---------------------------------------------------------------------- egsuh · 2025-11-14 03:04 With no other meaning/functions except highlighting itself, e.g. recently changed, or still developing parts? ---------------------------------------------------------------------- Thaddy · 2025-11-14 06:02 A diff viewer, maybe? ---------------------------------------------------------------------- cdbc · 2025-11-14 06:11 Hi You can try and play with "User defined markup" in 'Editor Options'... · Right click in any area of the code-editor and choose 'Options'. See the attached picture... Regards Benny ---------------------------------------------------------------------- Martin_fr · 2025-11-14 07:43 Quote from: egsuh on November 14, 2025, 04:04:29 amWith no other meaning/functions except highlighting itself, e.g. recently changed, or still developing parts? Depends on what kind of "highlight"... Code that was edited (since the file was loaded, or last saved), is indicated in the gutter (green/yellow on the left side). It does not change the colors inside the actual code. So in terms of help you see what you currently work on: Its just those yellow/green bits. But, you can apply your own colors, via keycombo. E.g. if you have a variable called "MyLocalFooValue", then you can highlight that word (it will highlight everywhere in the text, even outside the current proc, but it may still help...) Or you can highlight the name (or header line) of that function. The header line, i.e. the full "procedure TFoo.MyBar;" is probably unique. So if highlighted it will be easy to spot. To do such highlights add "User defined Markup" https://wiki.lazarus.freepascal.org/IDE_Window:_Editor_User_Defined_Wo rds Make sure you add key-combos. => Then select the text, and toggle the markup. This is how it can look in the editor: https://wiki.lazarus.freepascal .org/New_IDE_features_since#Multiple_user_defined_word_highlight/marku p