cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Anonymous
Not applicable

Can someone let me know how to change the font type and size for the code edit windows.

   

Cheers

0 Likes
11 Replies
TeHe_281121
New Contributor

Right-Click on the toolbar, and select Customize.

   

A "Customize" window pops up with 3 tabs. Select the "Toolbars" tab, and check the "Formatting" option.

   

This will enable the Formatting Toolbar and allow Font changes etc.

0 Likes
TeHe_281121
New Contributor

Ok, even with the formatting toolbar visible, it is disabled.

0 Likes
Anonymous
Not applicable

Under Tools/Options there is a font selection for Program/Debug but strangley no font setting under Text Editor.

   

What would be nice is to be able to ctrl/wheel zoom in/out same as VS and other IDE's.

   

At this time I find the current font size too small to be confortable.

   

Just a thought.

   

Cheers

0 Likes
Anonymous
Not applicable

 This is just to bump to the top as there was reply from Cypress regarding this.

0 Likes
ChristopherF_51
Employee

At this time there is no easy way to update font settings in the Code Editor.

   

The Code Editor plugin comes from a third party. There have been many requests to update it, and we have been investigating various options.

   

I do not know what the timeline is to address these issues, but I do know that Marketing has been pushing hard to get this updated.

0 Likes
Anonymous
Not applicable

 Interesting,

   

The ActiproSoftware.SyntaxEditor.Net20 control does have a drop down font selector.

   

I do not know if this can be exposed in your GUI but you could inherit from it I would think.

   

Cheers

0 Likes
Anonymous
Not applicable

 I am not sure why changing the font is so difficult.

   

I have tested the third party control that you use and the following code brings up a font dialog and allows the font to be changed;

   

   
     FontDialog fnt = new FontDialog();   
   
        
   
     fnt.Font = SyntaxEditor1.Font;   
   
        
   
     if (fnt.ShowDialog() == Windows.Forms.DialogResult.OK)   
   
     {   
   
     SyntaxEditor1.Font = fnt.Font;   
   
     }   
   
        
   
     fnt.Dispose();   
   
        
   
    Cheers   
0 Likes
ChristopherF_51
Employee

My apologies.  I did not mean it would be difficult to implement.  I just meant that as the system is now, there is no exposed user interface to do this.

0 Likes
Anonymous
Not applicable

Now you really have me scratching my head.

   

On the main IDE toolbar strip there is a toolbar called formatting which at this time is grayed out when displayed.

   

Since this toolbar is "exposed" what is it for?

   

Cheers

0 Likes
ChristopherF_51
Employee

That toolbar is used for the Schematic and Symbol Editors. The text formatting options on that toolbar are for text labels.

0 Likes
Anonymous
Not applicable

 Why don't you put it under Tools---> Options---> Text Editor.

   

Just a button to bring up a font dialog will do.

   

Cheers

0 Likes