B2026-046-RO-symbols-and-Annotations
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
|
using JR.Utils.GUI.Forms;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Drawing;
|
|
||||||
using System.Data;
|
using System.Data;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Drawing;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using System.Xml;
|
||||||
using VEPROMS.CSLA.Library;
|
using VEPROMS.CSLA.Library;
|
||||||
using Volian.Base.Library;
|
using Volian.Base.Library;
|
||||||
using Volian.Pipe.Library;
|
using Volian.Pipe.Library;
|
||||||
using System.Xml;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using JR.Utils.GUI.Forms;
|
|
||||||
|
|
||||||
namespace Volian.Controls.Library
|
namespace Volian.Controls.Library
|
||||||
{
|
{
|
||||||
@@ -220,7 +221,11 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
if (!DesignMode) // B2019-043 need to check if we are just saving changes to the user interface
|
if (!DesignMode) // B2019-043 need to check if we are just saving changes to the user interface
|
||||||
{
|
{
|
||||||
rtxbComment.Text = value;
|
//rtxbComment.Text = value;
|
||||||
|
if (value != null)
|
||||||
|
{
|
||||||
|
rtxbComment.Text = Regex.Replace(value, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString());
|
||||||
|
}
|
||||||
if (rtxbComment.Text != string.Empty)
|
if (rtxbComment.Text != string.Empty)
|
||||||
rtxbComment.SelectionStart = rtxbComment.TextLength; // position cursor to end of text
|
rtxbComment.SelectionStart = rtxbComment.TextLength; // position cursor to end of text
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user