Commit bbb358c
Partial copy and paste, needs more work.
Changed files (2)
Diff
@@ -205,6 +205,30 @@ public class ExportSettings : TableLayout { public override string get_name () { return "Export Settings"; }+ + public void paste (string text) {+ if (0 <= focus_index < focus_ring.size) {+ Widget widget = focus_ring.get (focus_index);+ + if (widget is TextArea) {+ TextArea text_area = (TextArea) widget;+ text_area.insert_text (text);+ }+ }+ }+ + public string get_copy_selection () {+ if (0 <= focus_index < focus_ring.size) {+ Widget widget = focus_ring.get (focus_index);+ + if (widget is TextArea) {+ TextArea text_area = (TextArea) widget;+ return text_area.get_selected_text ();+ }+ }+ + return "";+ } } }@@ -41,7 +41,7 @@ public class OtfLabel : LabelTool { otf_feature_activity (enabled, tag); } - /** @return translated string representation of a OTF feature tag. */+ /** @return translated string representation of an OTF feature tag. */ public static string get_string (string tag) { if (tag == "salt") { return t_("Stylistic Alternate") + " (salt)";