Why not using VIM?
It's a stable editor which recognized the kixtart language and a few hunderd other languages.
And very important, it's freeware!
You can find more info about it at www.vim.org