tag:blogger.com,1999:blog-6970306947364751612024-03-13T14:27:50.971-07:00A character in developmentAnonymoushttp://www.blogger.com/profile/15519813823376884797noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-697030694736475161.post-81318943631390775072012-06-13T14:20:00.000-07:002012-06-13T14:20:15.490-07:00WebKit# HTML editor for MonoDevelop pt.1<div dir="ltr" style="text-align: left;" trbidi="on">
Finally the semester is over! I passed my last exam today and I feel unchained... But no time for partying just yet :)<br />
<br />
During the past three weeks of my GSoC I haven't done a lot and I think a short resume of my work will fit in a few paragraphs.<br />
<br />
As a beginning I've created a new dynamic library project in MD and called it AspNetEdit2. I didn't know whether to start editing the old AspNetEdit addin code in the extras/ folder, and I thought that a clean start would be better, plus when my addin matures it won't be that hard to merge it with the existing one, if needed.<br />
<br />
For now the addin just offers a visual preview of the users HTML code. I have added display binding for <span style="font-family: "Courier New",Courier,monospace;">WebSubtype.Html</span>. An <span style="font-family: "Courier New",Courier,monospace;">AttachableViewContent</span> with a WebKit# <span style="font-family: "Courier New",Courier,monospace;">WebView</span> frame is a available for .html files, under a tab named "Browser Preview".<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-KyyNxy_q2EM/T9j_nyFAl2I/AAAAAAAAAFQ/Tq35NeznTRU/s1600/md_aspnetedit2_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="MonoDevelop AspNetEdit2 v01" border="0" height="345" src="http://3.bp.blogspot.com/-KyyNxy_q2EM/T9j_nyFAl2I/AAAAAAAAAFQ/Tq35NeznTRU/s400/md_aspnetedit2_01.png" title="MonoDevelop - previewing an HTML file in a WebView frame" width="400" /></a></div>
I used <span style="font-family: "Courier New",Courier,monospace;">WebView</span>'s method <span style="font-family: "Courier New",Courier,monospace;">LoadString</span> to display the contents of the <span style="font-family: "Courier New",Courier,monospace;">SourceEditorVIew</span>. I did it only to test out WebKit# abilities.<br />
<br />
This week I'll be implementing an important branch of the editor's architecture - the Main DOM tree. The contents of the <span style="font-family: "Courier New",Courier,monospace;">SourceEditorView</span> will be parsed and stored in a central, canonical DOM representation of the ASP.NET/HTML document. For displaying the Main DOM tree will be serialized, with special rules applied to certain control elements, and passed for displaying to the WebKit engine.<br />
<br />
<br /></div>Anonymoushttp://www.blogger.com/profile/15519813823376884797noreply@blogger.com0tag:blogger.com,1999:blog-697030694736475161.post-3403719257294347122012-05-01T01:40:00.001-07:002012-05-01T01:40:53.466-07:00So it begins!<div dir="ltr" style="text-align: left;" trbidi="on">
Under this label I'll post my Google Summer of Code progress articles, impressions, problems and hopefully solutions to them.<br />
Let the summer begin! (Although it's like 15 degrees outside right now :)</div>Anonymoushttp://www.blogger.com/profile/15519813823376884797noreply@blogger.com0