11Dec 2009
Bespin in BlueGriffon
12:14 - By BlueGriffon - Progress - 7 comments
Warning, it's in a very very early state so don't get too excited too soon. And there are a few big issues with Bespin at this time, but hey that's normal it's only a 0.5.
- resizing the editor makes the line numbers disappear ; a CR in the editor make them come back
- syntax highlight is now a plugin and gone for the time being

- you can't embed direct Bespin in XUL because it uses innerHTML and that one fails inside a XUL document
- so you need an iframe and that's painful wrt editor/chrome communication
- it has issues with rtl text
- but hey, it's already usable as is so mucho congrats to the Bespin team !
Update: yes, I know, I wrote somewhere a langer nun instead of a nun ; my bad.



7 comments
I think Kaze will be interested
Excellent work. I've already experimented with Bespin 0.5 in a XUL app, and though it does have some problems, it really is looking promising.
Re. your question in #bespin: data-bespin-options="" should probably be data-bespinoptions="". (At least according to the documentation: https://bespin.mozilla.com/docs/emb...)
@Ms2ger thanks ! please note I only copied what's in http://is.gd/5jTnF and the mistake is there, in the example...
Afaik, you can use innerHTML, but you can only use it for HTML elements, not XUL elements.
This is cool! Do watch out for Bespin Embedded 0.6 in a couple of weeks. It's likely to make things a whole lot better! (Alas, assuming "rtl text" is right-to-left, that is not getting better any time soon without a patch...)
Quote":you can't embed direct Bespin in XUL because it uses innerHTML and that one fails inside a XUL document"
There has to be a work around. Has anyone checked the bp6 forum?