We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EditControl from string and Outlining

Thread ID:

Created:

Updated:

Platform:

Replies:

146193 Jul 24,2019 11:32 PM UTC Jul 29,2019 05:51 AM UTC WPF 5
loading
Tags: EditControl
Michal Siedlecki
Asked On July 24, 2019 11:32 PM UTC

I'm using editcontrol to edit a script from string. The script is read from the database.
After setting Edit1.Text = PythonScript,  outlining is not displayed
After any change of the text, outlining appears.
How can I force the appearance outlining?

Regards,
Michal


Subburaj Pandian Veluchamy [Syncfusion]
Replied On July 25, 2019 08:47 AM UTC

Hi Michal 
  
Thank you for contacting Syncfusion support. 
  
We have checked your query “Outlining is not shown in EditControl when assign a text to Text property” and we have prepared the sample, how the outline support is enabled using SupportsOutlining property in EditControl.  You can collapse/expand ranges of text defined by the language. Please find the code snippet, screenshot and sample for the same. 
  
Code Snippet: 
 
this.SupportsOutlining = true; 
 
  
Screenshot: 
  
 
 
  
Please check the sample and let us know if you still facing the issue? If not, please modify the sample based on your scenario and revert us with the more details, so that it will be helpful for us to check on it and provide you the solution at the earliest.  
 
Regards,
Subburaj Pandian V    


Michal Siedlecki
Replied On July 25, 2019 09:32 AM UTC

Thanks you for the answer, but it does not solve my problem.

In my application property SupportsOutlining  is set to true
When I read the script file as in your example using  (Edit1.DocumentSource = "../../Source.py";), everything works OK, but in my application script is read from the database as a string and I'm using Edit1.Text = PythonScripts
Immediately after Edit1.Text = PythonScript, my window looks like this

Screenshot 1:




After any change from the keyboard, the outlining appears

Screenshot 2:


Regards,
Michał

Subburaj Pandian Veluchamy [Syncfusion]
Replied On July 26, 2019 01:14 PM UTC

Hi Michal, 
  
Thanks for contacting the Syncfusion support. 
  
We can able to reproduce the reported issue “EditControl Outlining is not shown when load the control with Text Property” and confirmed this as defect and it can be tracked through our feedback. 
  
  
The fix will be available in our upcoming Volume 3, 2019 release which is scheduled to be rolled out at the end of September 2019. Would waiting for the official release work for you? Otherwise, we can provide a patch on August 9, 2019. 
 
Regards,
Subburaj Pandian V       


Michal Siedlecki
Replied On July 28, 2019 12:11 PM UTC

Hi Subburaj,

Thanks for our answer.
I'll wait for the official version.

Regards,
Michał

Jagadeesan Pichaimuthu [Syncfusion]
Replied On July 29, 2019 05:51 AM UTC

Hi Michal, 
 
Thanks for your update. 
 
As we promised earlier, we will include the fix in our upcoming Volume 3 main release which is scheduled to be rolled out at the end of September 2019. 
 
We appreciate your patience until then. 
 
Regards, 
Jagadeesan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon