Bug 526316 - Font size in syntax coloring
Summary: Font size in syntax coloring
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: Next   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-20 10:56 EDT by trampas CLA
Modified: 2020-09-04 15:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trampas CLA 2017-10-20 10:56:08 EDT
It would be nice if we could change the font size in the syntax coloring. For example I would like to make my function names use a larger font so they stand out more when browsing code.
Comment 1 Nathan Ridge CLA 2017-10-20 11:36:59 EDT
I'm not sure whether the underlying SWT widget that CDT uses in its editor supports this.

Also note that this would break the property you currently get with a monospace font, that columns of characters are vertically aligned.
Comment 2 Nathan Ridge CLA 2017-10-22 22:59:28 EDT
(In reply to Nathan Ridge from comment #1)
> I'm not sure whether the underlying SWT widget that CDT uses in its editor
> supports this.

I checked, the SWT widget does support this. So this is doable in principle. 

I don't have any plans to work on it in the near future, but if someone would like to contribute a patch, I would be happy to provide guidance and review it.