• 0

C# Wysiwyg Custom Format


Question

Hi guys,

When developing more high-end editors like dreamweaver you normally write your own format for files for your program to read from what I have been gathering around the net. But I have a couple questions. How would you deal with file changes? Each time the file was loaded would you have to re-parse the file everytime? Are there best-practice articles out there? I would love to read articles from people who have made their own wysiwyg editors that tackled this problem. Did they use the microsoft mshtml editor and customized that or did they use other sophisticated means?

Thanks everyone! :)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Hi guys,

When developing more high-end editors like dreamweaver you normally write your own format for files for your program to read from what I have been gathering around the net.

Dreamweaver does not have it's own file format, as far as I know, so I'm not sure that your basic assumptions are correct. Why write a custom WYSIWYG file format when several already exist (HTML, PDF, etc)? Don't reinvent the wheel.

If you really want to do it, you have to consider the specifications of your project. A custom file format might be in XML for simplicity and extensibility. You could create a bit-by-bit file format to make the files as small as possible.

But I'm still confused: are you trying to create an HTML editor? In that case, you would obviously use the HTML file format.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.