C#을 예를 들면, 다음과 같음.



Before you can do syntax highlighting with C# files, you will need to obtain its syntax definition file, CSHARP.SYN. This is included with TextPad and can be downloaded from http://www.textpad.com/add-ons/syna2g.html. Follow the installation instructions at the bottom of that page, then:

  1. From the Configure menu, choose New Document Class. The Document Class Wizard is displayed.
  2. In the Document Class Name box, type C# and click Next.
  3. In the Class Members box, type *.cs and click Next.
  4. Tick the box to enable syntax highlighting.
  5. From the drop-down list, choose "csharp5.syn" and click Next.
  6. Click Finish.


- 참고 : 왠만한 syntax 파일은 C:\Program Files\TextPad 8\Samples 에 이미 있음.


- 준비사항 : csharp5.syn 파일은 여기( http://semoa.tistory.com/1092 ) 에서 다운로드 하여

              아래폴더에 넣으면 됨 
                      C:\Program Files\TextPad 8\Samples



Posted by 세모아
,