Problems with syntax coloring (assembly language S12(X) files)?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problems with syntax coloring (assembly language S12(X) files)?

ソリューションへジャンプ
810件の閲覧回数
kurt_l
Contributor II

I have a project that is mostly S12X assembly language.  We compile it with Codewarrior 5.9 IDE, and the underlying development studio version for S12(X) is 5.1, build 10221. Some of the assembly language source files show up with syntax coloring, and a few don't, which drives me a little bit crazy.  Both types of files have file ending suffixes of .asm; I can't seem to figure out why one file shows up with all the keywords and comments colored nicely, while the other one is all black.  Can anyone suggest a reason why some files don't have syntax coloring active?  By the way, for a given file the coloring or non-coloring is consistent all the time - it isn't like you open the file one time and it is syntax-colored and another time it is black.  Thank you for any suggestions you may have.

ラベル(1)
1 解決策
652件の閲覧回数
kurt_l
Contributor II

OK, after digging around some more I was able to answer my own question... it turns out, there is an icon at the top of each source window for Document Settings... click on that, and you have options for file format and syntax coloring.  It's the fourth icon from the left, the one that looks like a piece of paper with a checkbox list.  Here is the thread that pointed out this feature:

Re: Color Syntaxe for ASM code

I have no idea why some of our source files had this turned on, and others did not.  I have turned on the feature for all the files that lacked it, and life is good.

元の投稿で解決策を見る

1 返信
653件の閲覧回数
kurt_l
Contributor II

OK, after digging around some more I was able to answer my own question... it turns out, there is an icon at the top of each source window for Document Settings... click on that, and you have options for file format and syntax coloring.  It's the fourth icon from the left, the one that looks like a piece of paper with a checkbox list.  Here is the thread that pointed out this feature:

Re: Color Syntaxe for ASM code

I have no idea why some of our source files had this turned on, and others did not.  I have turned on the feature for all the files that lacked it, and life is good.