Beta Testing results |
Post Reply |
Author | |
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
Posted: 24 October 2007 at 10:44pm |
After trying to plug this control in to a real-world app a few things cropped up. Hopefully codejock can make a few changes for 11.2.1 final.
A few missing methods: SelectAll ClearUndoBuffer IndentSelection UnindentSelection PrintPreview (this is a show stopper for me) Missing events: Change event SelectionChange event Missing properties: RowText(row as long) RowCount Some required changes: FindReplace dialog should allow replace with empty string (currently replace button disables when replace with textbox is empty) Standard shortcuts like Ctrl+C, Ctrl V, Ctrl A etc don't do anything. A few bugs: properties ShowSelectionMargin, ShowLineNumbers, EnableVirtualSpace do not persist when set at design time (there may be more but needs checking) openfile method doesn't handle ANSI, Big Endian or UTF8 encoding formats (using Unicode version). eg in WinXP notepad create an SQL file and save it in all available encoding formats. Only 1 will load properly. Problems: Any attempt to use Text property causes delay (5 secs for 20000 lines). eg if I want to know if there's any text in the control: bAnyText = (Len(txtSQL1.Text) > 0). How about a property TextLength or IsBlank. Admittedly, rowcount property would help here but regardless, it seems the Text property is not maintained by the control, rather it's evaluated when accessed. I still find it necessary to 'load' a blank file with .sql extension to get the syntax highlighting working. I set Text property in code as it's read from database so I want to be able to force a 'language' to be used without it being interpreted from a file extension (which IMO is a bit bad practice). |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Thanks, we will see how much we can add for the final version.
|
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
Wow. You've been busy.
Thanks for all the hard work. |
|
AndreiM
Moderator Group Joined: 18 August 2007 Status: Offline Points: 132 |
Post Options
Thanks(0)
|
Hi, all properties which you request added to final 11.2.1.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |