I noticed that SynEdit is available in Lazarus and therefore possibly cross platform.