Troubleshooting Syntax Highlighting in TextPad for VHDL: Tips and Tricks

  • Thread starter Thread starter Kenneth Mann
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting syntax highlighting issues in the TextPad editor specifically for VHDL files. Participants explore configuration settings and potential solutions to enable proper keyword colorization.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in getting TextPad to display VHDL keywords in colors other than black, despite following the customization instructions.
  • Another participant suggests checking the "Files in class" list under the VHDL document class settings to ensure the correct filename extension is included.
  • The same participant questions whether the "New Document Class" wizard was used to install the VHDL syntax definitions, noting that VHDL may not be included in the basic TextPad installation.
  • The original poster later confirms that the VHDL syntax file was present but not recognized, indicating a resolution to the initial problem.

Areas of Agreement / Disagreement

Participants generally agree on the steps to check and configure the settings in TextPad, but there is no explicit consensus on the initial cause of the problem.

Contextual Notes

Limitations include the potential for missing assumptions regarding TextPad's installation and configuration, as well as the dependency on the specific version of TextPad being used.

Kenneth Mann
Messages
424
Reaction score
3
"TextPad" Editor

I have a problem, and I hope that someone here will be knowledgeable enough to help me. I am trying to use "TextPad", a text editor that is especially designed for things such as languages. (My interest in this case is VHDL.) In any account, one of its features that I need is the ability to display various "keywords" in selected colors. (As I remember, an earlier version did this very well.) Unfortunately, I am having problems with this feature - - right from the start.

I have tried everything that I could find in the Help files. I checked out the "Syntax Definition File" for VHDL, and it seems to be OK. I also went through the instructions for "customizing colors". I chose the item(s) (Keyword lists) that I wanted to display in color(s), and selected the colors. I also put a checkmark in the box that enables highlighting. The upshot is that I can now get any color of type for the selected keywords, as long as that color is black.

What am I missing?

KM
 
Computer science news on Phys.org
Look under the Configure Menu -> Preferences -> Document Classes -> VHDL and make sure the "Files in class" list includes the filename extension you're using for VHDL.

Did you use the "New Document Class" wizard to install your VHDL syntax definitions? I don't believe VHDL is included in the basic TextPad install.

- Warren
 
chroot said:
Look under the Configure Menu -> Preferences -> Document Classes -> VHDL and make sure the "Files in class" list includes the filename extension you're using for VHDL.

Did you use the "New Document Class" wizard to install your VHDL syntax definitions? I don't believe VHDL is included in the basic TextPad install.

- Warren


I didn't try to install a new VHDL definition file because the newest TextPad appears to have one. It does have the extension I am using. When I get In I will check with a couple of other file types and see if they present a similar problem. Then, if these work, I'll go back to the VHDL files.

KM
 
You were right! The VHDL Syntax file is present but was not recognized. That has been taken care of; thanks for the help.

KM
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • Sticky
  • · Replies 1 ·
Replies
1
Views
17K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 75 ·
3
Replies
75
Views
7K