List Info

Thread: Ported SharpD Editor




Ported SharpD Editor
country flaguser name
United States
2007-05-03 19:53:38
Attached is a copy of the ported SharpD Editor that I have been working on. Someone had requested that I make the source public, so here it is.

Right now I have the editor packed into a Gtk.Window for testing and most everything seems to work. I have not yet monkeyed with the code for the horizontal ruler that tracks the caret's column position, but I considered that non-essential.

I had to re-write the caret handler, mouse handler, the clipboard handler and drag-drop handler from scratch, but the rest of the code is probably 80%-90% original. (I wasn't sure how to compare the code line-by-line or anything ...)

Plans for the future:
     --  Convert the drawing and font rendering to Cairo and Pango
     --  Integrate it into Monodevelop as an Add-In

Please feel free to comment on what you think about it. The code may be a little primitive because I have never taken a formal computer science course.



Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
  
Re: Ported SharpD Editor
user name
2007-05-04 05:33:06
I have been playing with it a little bit now, I must say it
seems
interesting but It feels heavy on my computer, even without
systax
highlighting. The scrolling and selection of text isn't as
smooth as it
should. I would like to see the Pango port of the editor as
I think it
should gain some speedup. Also, I don't think as the Cairo
port a must,
because it should be already using it through
System.Drawing.

P.D: I don't know how strong is your background on Pango but
I suggest
you to read some of the problems the first attempt of a port
of the
SourceEditor had like the described here
http://lists.ximian.com/pipermail/mon
odevelop-list/2004-January/000094.html

On jue, 2007-05-03 at 17:53 -0700, Nate Hancock wrote:
> Attached is a copy of the ported SharpD Editor that I
have been
> working on. Someone had requested that I make the
source public, so
> here it is. 
> 
> Right now I have the editor packed into a Gtk.Window
for testing and
> most everything seems to work. I have not yet monkeyed
with the code
> for the horizontal ruler that tracks the caret's column
position, but
> I considered that non-essential.
> 
> I had to re-write the caret handler, mouse handler, the
clipboard
> handler and drag-drop handler from scratch, but the
rest of the code
> is probably 80%-90% original. (I wasn't sure how to
compare the code
> line-by-line or anything ...)
> 
> Plans for the future:
>      --  Convert the drawing and font rendering to
Cairo and Pango
>      --  Integrate it into Monodevelop as an Add-In
> 
> Please feel free to comment on what you think about it.
The code may
> be a little primitive because I have never taken a
formal computer
> science course.
> 
> 
> 
> 
> 
>
____________________________________________________________
__________
> Ahhh...imagining that irresistible "new car"
smell?
> Check out new cars at Yahoo! Autos. 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-listlists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )