Skip to content

Commit

Permalink
Revert "Update elm_code widget .eo doc for EFL master"
Browse files Browse the repository at this point in the history
This reverts commit 398e8ad.
  • Loading branch information
andydotxyz committed Jun 2, 2015
1 parent ee493ae commit de32bd6
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions elm_code/src/lib/widget/elm_code_widget.eo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
{
eo_prefix: elm_code_widget;
methods {
@property code {
properties {
code {
set {
/*@
Set the underlying code object that this widget renders.
Expand All @@ -21,7 +21,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
Elm_Code *code; /*@ Our underlying Elm_Code object */
}
}
@property font {
font {
set {
/*@
Set the font that this widget uses, the font should be a monospaced scalable font.
Expand All @@ -41,7 +41,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
Evas_Font_Size font_size; /*@ The font size of the widgget */
}
}
@property gravity {
gravity {
set {
/*@
Set how this widget's scroller should respond to new lines being added.
Expand All @@ -62,7 +62,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
double y; /*@ The vertical gravity of the widget's scroller - valid values are 0.0 and 1.0 */
}
}
@property policy {
policy {
set {
/*@
Set the policy for scrollbar visibility.
Expand All @@ -76,11 +76,11 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
@ingroup Layout */
}
values {
policy_h: Elm_Scroller_Policy; /*@ The horizontal scrollbar visibility policy */
policy_v: Elm_Scroller_Policy; /*@ The vertical scrollbar visibility policy */
Elm_Scroller_Policy policy_h; /*@ The horizontal scrollbar visibility policy */
Elm_Scroller_Policy policy_v; /*@ The vertical scrollbar visibility policy */
}
}
@property tabstop {
tabstop {
set {
/*@
Set the width of a tab stop, used purely for visual layout of tab characters.
Expand All @@ -100,7 +100,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
uint tabstop; /*@ Maximum width of a tab character */
}
}
@property editable {
editable {
set {
/*@
Set whether this widget allows editing
Expand All @@ -126,7 +126,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
Eina_Bool editable; /*@ The editable state of the widget */
}
}
@property line_numbers {
line_numbers {
set {
/*@
Set whether line numbers should be displayed in the left gutter.
Expand All @@ -146,7 +146,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
Eina_Bool line_numbers; /*@ Whether or not line numbers (or their placeholder) should be shown */
}
}
@property line_width_marker {
line_width_marker {
set {
/*@
Set where the line width market should be shown.
Expand All @@ -166,7 +166,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
uint line_width_marker; /*@ Where to display a line width marker, if at all */
}
}
@property show_whitespace {
show_whitespace {
set {
/*@
Set where white space should be shown.
Expand All @@ -183,7 +183,7 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
Eina_Bool show_whitespace; /*@ Whether or not we show whitespace characters */
}
}
@property cursor_position {
cursor_position {
set {
/*@
Set the current location of the text cursor.
Expand All @@ -201,6 +201,8 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
uint line; /*@ The vertical position of the cursor - the top row is 1 an */
}
}
}
methods {
line_refresh {
params {
Elm_Code_Line *line; /*@ @in The line to refresh. */
Expand Down Expand Up @@ -229,9 +231,9 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
Eo.Base.constructor;
Eo.Base.finalize;
Evas.Object_Smart.add;
Elm.Widget.event;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm_Widget.event;
Elm_Widget.focus_next_manager_is;
Elm_Widget.focus_direction_manager_is;
}
events {
line,clicked;
Expand Down

0 comments on commit de32bd6

Please sign in to comment.