bracket indent
Is bracket indent feature available in EditControl? We need any text enclosed within "{" and "}" be automatically indented just like Vs.net.
SIGN IN To post a reply.
6 Replies
AD
Administrator
Syncfusion Team
October 19, 2005 03:48 PM UTC
Hi Susan,
EditControl does support indentation when the Enter key is pressed after the opening brace, when it is in
Smart AutoIndentMode, but it does not outdent the closing brace. We have an open Feature Request #118 in this regard and will try our very best to take care of it as soon as possible. You could track the progress of this feature at this link below :
Feature
Request #118
Let me know if you need anything more.
We appreciate your interest in Syncfusion products.
Regards,
Bharath.
BH
Brian Hublein
October 14, 2009 06:33 PM UTC
Will this be fixed in any upcoming versions?
Thanks,
Brian Hublein
Cyberlogic
Thanks,
Brian Hublein
Cyberlogic
BH
Brian Hublein
October 21, 2009 12:05 PM UTC
Any ideas??
Thanks
Thanks
NR
Nandakumar R
Syncfusion Team
November 3, 2009 10:14 AM UTC
Hi Brian,
This feature has been implemented. Please refer to the following Vol.4 RC and let me know if this helps.
http://www.syncfusion.com/support/forums/general/91019/essential-studio-2009-vol4-rc-v74015-available-for-download
Regards,
Nanda
This feature has been implemented. Please refer to the following Vol.4 RC and let me know if this helps.
http://www.syncfusion.com/support/forums/general/91019/essential-studio-2009-vol4-rc-v74015-available-for-download
Regards,
Nanda
BH
Brian Hublein
December 4, 2009 03:26 PM UTC
Hi Nanda,
I'm using version 7.4.0.20 and it still seems to be doing the smae thing. Is this the right version or is there a newer one? I have run the debug version and see the problem in the UpdateIndentation function in StreamEditControl.cs. It looks like it takes the RenderedLexem as either spaces or a tab depending on how the control is set up. then later in the function it compares the RenderedLexem to a } and there is a mismatch so it doesn't un-indent. I guess this is the case because the { wasn't the last key press.
Maybe I'm just using the wrong version but I'm pretty sure it's the latest one.
Let me know if you need some more information.
Thanks,
Brian Hublein
I'm using version 7.4.0.20 and it still seems to be doing the smae thing. Is this the right version or is there a newer one? I have run the debug version and see the problem in the UpdateIndentation function in StreamEditControl.cs. It looks like it takes the RenderedLexem as either spaces or a tab depending on how the control is set up. then later in the function it compares the RenderedLexem to a } and there is a mismatch so it doesn't un-indent. I guess this is the case because the { wasn't the last key press.
Maybe I'm just using the wrong version but I'm pretty sure it's the latest one.
Let me know if you need some more information.
Thanks,
Brian Hublein
NR
Nandakumar R
Syncfusion Team
December 8, 2009 04:33 AM UTC
Hi,
Thanks for your patience. I used the code sample under,
\\My Documents\Syncfusion\EssentialStudio\7.3.0.20\Windows\Edit.Windows\Samples\2.0\Product Showcase\Custom Code Editor\CS
and was able to see the behaviour as in this video file. The EditControl outdents properly. Can you please try these and let me know if you are seeing any different behaviour.
Regards,
Nanda
Thanks for your patience. I used the code sample under,
\\My Documents\Syncfusion\EssentialStudio\7.3.0.20\Windows\Edit.Windows\Samples\2.0\Product Showcase\Custom Code Editor\CS
and was able to see the behaviour as in this video file. The EditControl outdents properly. Can you please try these and let me know if you are seeing any different behaviour.
Regards,
Nanda
SIGN IN To post a reply.
- 6 Replies
- 3 Participants
-
AD Administrator
- Oct 19, 2005 02:24 AM UTC
- Dec 8, 2009 04:33 AM UTC