[Cuis] Styled Text Editor file format

Hari Balaraman hbalaraman at gmail.com
Wed Aug 13 21:55:44 CDT 2014


> 
>> I had one question for any folks that might know. What format does the text editor save files in? I saved it on the filesystem but couldn’t access it using textedit. If it isn’t accessible by non-smalltalk editors, is there a text editor you know of that I can install that will allow me to read and write to files on the filesystems. I started down that path last week writing to plaintext files (for an app I am building) but wanted to avoid reinventing the wheel in case it has already been done (also why I got pretty excited today about the stylised text editor.)
> 
> Right now, we are saving files with SmartRefStream, as Smalltalk serialized objects. The code to support RTF is there, but I don't really like RTF, especially as it doesn't have a concept of styles. I think the best would be to be able to save and read .MD (markdown) format. And use a set of styles that match what markdown provides. Someone would need to code this, though. But I don't think it would be too hard if you or anybody wants to give it a try.
> 

Hi Juan,
I’m aiming (as my work and free time permit) for generating files in the opendocument format. After spending some time experimenting with generating odt files from text files (it’s just xml on the inside), I pared my ambitions to generating single file .fodt files (which are readable by libreoffice and openoffice - and are saved with linebreaks [at least on my system] and so are much more readable on a text editor.) 
Learning as I go along, and will revert with something constructive as soon as I can.
Regards,
Hari



More information about the Cuis mailing list