How would I know which file uses the Scintilla lexer that I want for my file type? I don't even know what a Scintilla lexer is. And I wouldn't know how to "adapt all the lexer-related settings" if I don't have any documentation on what they could be.
I may as well talk specifics. I'm using the JAL programming language for Microchip PIC microcontrollers. The file extension is ".jal" and here is a simple program example: ``` -- ------------------------------------------------------ -- Title: Blink-a-led of the Microchip pic16f886 -- -- Description: -- Simple blink-a-led program for Microchip pic16f886 -- using the internal oscillator. -- The LED should be flashing twice a second! -- -- -- ------------------------------------------------------ -- include 16f886 -- target PICmicro -- -- This program uses the internal oscillator at 4 MHz. pragma target clock 4_000_000 -- oscillator frequency -- pragma target OSC INTOSC_NOCLKOUT -- internal oscillator pragma target WDT CONTROL -- watchdog pragma target DEBUG DISABLED -- no debugging pragma target BROWNOUT DISABLED -- no brownout reset pragma target FCMEN DISABLED -- no clock monitoring pragma target IESO DISABLED -- no int/ext osc switching pragma target LVP ENABLED -- low voltage programming, pull pin_PGM LOW for normal operation pragma target MCLR EXTERNAL -- external reset -- -- The configuration bit settings above are only a selection, sufficient -- for this program. Other programs may need more or different settings. -- WDTCON_SWDTEN = OFF -- disable WDT OSCCON_SCS = 0 -- select primary oscillator OSCCON_IRCF = 0b110 -- 4 MHz -- enable_digital_io() -- make all pins digital I/O -- -- A low current (2 mA) led with 2.2K series resistor is recommended -- since the chosen pin may not be able to drive an ordinary 20mA led. -- alias led is pin_A0 -- alias for pin with LED -- pin_A0_direction = OUTPUT -- forever loop led = ON _usec_delay(100_000) led = OFF _usec_delay(400_000) end loop -- ``` -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/discussions/4507#discussioncomment-15711955 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/repo-discussions/4507/comments/[email protected]>
