Abbreviations don't work in embedded script
Submitted by Saturday, 22 October, 2005 - 02:50
on
I created an abbreviation for Javascript mode; it works fine in a *.js buffer, but I find that it doesn't work within a Javascript block embedded in an *.html or *.hta buffer. Shouldn't mode-specific abbreviations work correctly within a delegated mode just as syntax highlighting does?
Is there some way for the user to make this work, or is this an ability that jEdit does not have yet?
Workarounds:
1. Copy the javascript abbreviations to the html mode.
2. Create the abbreviations in the global mode instead.
Both these approaches, of course, negate the principle of configuring each mode independently.
Is there some way for the user to make this work, or is this an ability that jEdit does not have yet?
Workarounds:
1. Copy the javascript abbreviations to the html mode.
2. Create the abbreviations in the global mode instead.
Both these approaches, of course, negate the principle of configuring each mode independently.