Enlightenment CVS committal
Author : moom16
Project : e17
Module : proto
Dir : e17/proto/etk/src/bin
Modified Files:
etk_text_view_test.c
Log Message:
* The cursor now can move through nodes, but there are still problems to
place the cursor at the end of a line
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/etk/src/bin/etk_text_view_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- etk_text_view_test.c 15 Feb 2006 21:01:33 -0000 1.1
+++ etk_text_view_test.c 17 Feb 2006 17:30:37 -0000 1.2
@@ -22,6 +22,35 @@
etk_container_add(ETK_CONTAINER(win), vbox);
text_view = etk_text_view_new();
+ /* TODO: */
+ etk_textblock_text_set(ETK_TEXT_VIEW(text_view)->textblock,
+ "<center><h1>Title</h1></center><br>"
+ "<p><tab>A pragraph here <red>red text</red> and stuff.</p>"
+ "<p>And escaping < and > as well as & as <h1>normal.</h1></p>"
+ "<p>If you want a newline use <br><br>woo a new line!</p>"
+ "<right>Right "
+ "<style=outline color=#fff outline_color=#000>aligned</> "
+ "<style=shadow shadow_color=#fff8>text</> "
+ "<style=soft_shadow shadow_color=#0002>should</> "
+ "<style=glow color=#fff glow2_color=#fe87 glow_color=#f214 >go here</> "
+ "<style=far_shadow shadow_color=#0005>as it is</> "
+ "<style=outline_shadow color=#fff outline_color=#8228
shadow_color=#005>within</> "
+ "<style=outline_soft_shadow color=#fff outline_color=#8228
shadow_color=#0002>right tags</> "
+ "<style=far_soft_shadow color=#fff shadow_color=#0002>to make it align
to the</> "
+ "<underline=on underline_color=#00f>right hand</> "
+ "<backing=on backing_color=#fff8>side
</><backing_color=#ff08>of</><backing_color=#0f08> </>"
+ "<strikethrough=on strikethrough_color=#f0f8>the textblock</>.</right>"
+ "<p>And "
+ "<underline=double underline_color=#f00 underline2_color=#00f>now we
need</> "
+ "to test some <color=#f00 font_size=8>C</><color=#0f0 font_size=10>O</>"
+ "<color=#00f font_size=12>L</><color=#fff font_size=14>O</>"
+ "<color=#ff0 font_size=16>R</><color=#0ff font_size=18> Bla Rai</>"
+ "<color=#f0f font_size=20> Stuff</>.</p>"
+ "<blockquote>"
+ "HeizölrückstoÃabdämpfung fløde pingüino kilómetros cÅur déçu
l'âme "
+ "plutôt naïve Louÿs rêva crapaüter Ãosa Ãrmhac Ãighe pór Ãava
Ãdhaim"
+ "</blockquote>"
+ );
etk_box_pack_start(ETK_BOX(vbox), text_view, ETK_TRUE, ETK_TRUE, 0);
etk_widget_show_all(win);
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs