The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I am using Essential Edit to edit a language where I have spaecial variables such as: __$some_path_varname but it is interpreted as three different tokens: '__', '$' and 'some_path_varname'. I haven't found any way to get the whole word '__$some_path_varname' as a single token. Is there any way I haven't seen? Thank you in advance.
FSFathima Shalini P Syncfusion Team July 1, 2009 11:52 AM UTC
Hi,
Thank you for your interest in Syncfusion Products.
I am able to reproduce the issue. As a workaround, we can get the whole word that contains special characters like "_$" as provided in the following code snippet:
private void getWordToolStripMenuItem_Click(object sender, EventArgs e) { string text = this.editControl1.GetLineText(this.editControl1.CurrentLine); string[] words = text.Split ( new char[] { ' ' } ); foreach(string s in words) { string temp; if (s.Contains(";")) { temp = s.Remove(s.Length - 1); } else { temp = s; } if(temp.StartsWith("_$")) MessageBox.Show(temp); } }
Please let me know if any concerns.
Regards, Fathima
TETxomin EtxebarriaJuly 2, 2009 12:12 PM UTC
Thank you for your answer,
The workaround you suggest is valid to replace code such as: