Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Code Edit Windows Font Setting

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Code Edit Windows Font Setting
Moderator:
JFMD

Post Reply
Follow this topic



Code Edit Windows Font Setting

Azlan posted on 01 Sep 2010 12:15 AM PST
Senior Member
12 Forum Posts

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

Cheers

 




Re: Code Edit Windows Font Setting

Terrence posted on 01 Sep 2010 09:40 AM PST
Top Contributor
43 Forum Posts

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.

 



Re: Code Edit Windows Font Setting

Terrence posted on 01 Sep 2010 10:03 AM PST
Top Contributor
43 Forum Posts

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



Re: Code Edit Windows Font Setting

Azlan posted on 01 Sep 2010 11:03 AM PST
Senior Member
12 Forum Posts

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

 

 



Re: Code Edit Windows Font Setting

Azlan posted on 11 Dec 2010 09:28 AM PST
Senior Member
12 Forum Posts

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



Re: Code Edit Windows Font Setting

CKF posted on 13 Dec 2010 11:03 AM PST
Cypress Employee
32 Forum Posts

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.



Re: Code Edit Windows Font Setting

Azlan posted on 16 Dec 2010 12:40 AM PST
Senior Member
12 Forum Posts

 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

 

 

 

 



Re: Code Edit Windows Font Setting

Azlan posted on 19 Dec 2010 09:47 PM PST
Senior Member
12 Forum Posts

 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

 



Re: Code Edit Windows Font Setting

CKF posted on 31 Dec 2010 10:52 AM PST
Cypress Employee
32 Forum Posts

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.



Re: Code Edit Windows Font Setting

Azlan posted on 05 Jan 2011 08:47 AM PST
Senior Member
12 Forum Posts

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

 

 

 



Re: Code Edit Windows Font Setting

CKF posted on 21 Jan 2011 07:26 AM PST
Cypress Employee
32 Forum Posts

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



Re: Code Edit Windows Font Setting

Azlan posted on 03 Feb 2011 08:29 AM PST
Senior Member
12 Forum Posts

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

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

Cheers

 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20