SQL uses BEGIN and END for marking blocks. Since Jedit recoganises each letter as a block open marker, BEGIN results in a 5 level indentation. A new token should be introduced to support BEGIN and END as block markers - simillar to the comment start and comment end.
|Submitted||vink2 - 2010-02-26 - 20:10:08z||Assigned||nobody|
|2012-04-30 - 16:47:20z
|This is fairly easy to do yourself. Implemented here: https://github.com/djspiewak/jedit-modes/blob/master/osql.xml|