Clone in a terminal:
Commit bbb358c
Johan Mattsson - 2018-12-05T14:45:29+00:00
bbb358cf698ead489e6d44bcf778d150ed78861cjohan.mattsson.m@gmail.com

Partial copy and paste, needs more work.

Changed files (2)

Diff

diff --git a/libbirdfont/ExportSettings.vala b/libbirdfont/ExportSettings.valaindex c6cf543..fa6e0fc 100644--- a/libbirdfont/ExportSettings.vala+++ b/libbirdfont/ExportSettings.vala@@ -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 "";+	} }  }diff --git a/libbirdfont/OtfLabel.vala b/libbirdfont/OtfLabel.valaindex 29b9a78..0dc7153 100644--- a/libbirdfont/OtfLabel.vala+++ b/libbirdfont/OtfLabel.vala@@ -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)";

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112