Author Topic: New File Type is not utilitzing the assigned Language Color Lexer  (Read 2543 times)

mhyman37@gmail.com

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
  • mst3rSa1am1s
I am trying to add a new file type to a language and have the color lexer applied.  I have done the following:
1) Tools --> Options --> Database Languages --> PL/SQL --> General  : Clicked <Edit These Extension> and added ctl ( no period ).
2) Clicked on <SlickEdit File Associations ( within the context of the PL/SQL language - the hyperlink ) and clicked on ctl to be apart of the File Type for the Language.
3) Clicked on Color Coding within Context of Language and added a few Keywords to test association.
4) Double checked in Languages --> File Extension Manger that ctl is present and assigned to the PL/SQL language.

I Applied and Ok'd the changes.  At this point I am expecting the few new keywords for this new file type to be color coded according to the Lexer.

However, it is not working.  Have a missed a step ?  If so what would that be ?  ( poured through User Guide and tried searching forums, but no similiar topic ).

Thanks


Version:
SlickEdit Pro 2014 (v19.0.2.5 64-bit)
Serial number: xxxxxxx
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\19\slickedit.lic
Build Date: April 10, 2015
Emulation: CUA
OS: Windows 7 x64
OS Version: 6.01.7601  Service Pack 1
Memory: 30% Load, 5035MB/16254MB Physical, 5040MB/32507MB Page File, 504MB/8388607MB Virtual
Shell Information: C:\Windows\system32\cmd.exe /q
Screen Size: 1080 x 1920, 1920 x 1080
Project Type: PL/SQL
Language: .sql (PL/SQL)
Encoding: Automatic

Installation Directory: C:\Program Files\SlickEdit Pro 19.0.2\ (non-removable drive,NTFS,149584MB free)
Configuration Directory: \\backup02\home\xxxxx\My SlickEdit Config\19.0.2\ (remote,NTFS,2055179MB free)
Spill File: C:\Users\xxxxxx\AppData\Local\Temp\$slk.912 (non-removable drive,NTFS,149584MB free)

Sandra

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 754
  • Hero Points: 36
Re: New File Type is not utilitzing the assigned Language Color Lexer
« Reply #1 on: October 29, 2015, 06:51:59 PM »
With your file in the buffer, go to Document > Select Mode...  It should should in parentheses the current language mode.  If it is not PL/SQL, you can change that by clicking the menu item.

mhyman37@gmail.com

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
  • mst3rSa1am1s
Re: New File Type is not utilitzing the assigned Language Color Lexer
« Reply #2 on: October 29, 2015, 07:00:29 PM »
Awesome Skewling!  Thanks for the help, Michael.