/// <summary> /// Shows the text style edtior for the specified styleable node /// </summary> /// <param name="styleable"></param> protected void ShowTextStyleEditor(INStyleable styleable) { if (styleable == null) { return; } NTextStyle textStyle = styleable.ComposeTextStyle(); NTextStyle newTextStyle = null; if (NTextStyleTypeEditor.Edit(textStyle, textStyle != NStyle.GetTextStyle(styleable), out newTextStyle)) { NStyle.SetTextStyle(styleable, newTextStyle); document.SmartRefreshAllViews(); } }