This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
SAX should be more effective especially for such simple format and SAXParser is loaded anyway. Now editor pays for initialization of DOM builder (in warmup task).
I am not sure whether I will have enough time to fix it to NB 3.6 because of other priorities
This is not only about key binding but I also see some PropertiessMIMEOptionFile that calls parsing from a AWT thread during typing (invoked from ExtKit$ExtDefaultKeyTypedAction.actionPerfomed -> ExtKit$ExtDefaultKeyTypedAction.checkIndentHotChars -> NbEditorDocument.getFormatter). IMO we should smooth out all these paths to make typing as fast as possible.
IMO the reading of those settings only happens once - I guess during the first keystroke for the particular mime type. They should never happen again then. I don't think that there will be enough time to do this now so marking as "future" for now. We might do it in the 4.0 timeframe but I suspect that (assuming that the reading is only done once) there are more serious issues than this one.
MimeOptionsFiles is hopefully going to die with the proper MimeLookup-ization of editor settings (see issue #90403). The font&color and keybinding settings have already been updated and their files are parsed using a SAX parser (see editor/settings/storage).
Seems like P4 to me.
MimeOptionsFiles are deprecated and not used anymore, so closing as WONTFIX. The new editor/settings/storage does use SAX for reading settings files.