Updated Files
libbirdfont/ExportSettings.vala |
libbirdfont/OtfLabel.vala |
--- a/libbirdfont/ExportSettings.vala
+++ b/libbirdfont/ExportSettings.vala
@@ -204,8 +204,32 @@
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 "";
}
}
}
--- a/libbirdfont/OtfLabel.vala
+++ b/libbirdfont/OtfLabel.vala
@@ -41,7 +41,7 @@
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)";