Print Page | Close Window

Beta Testing results

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=8519
Printed Date: 23 November 2024 at 7:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Beta Testing results
Posted By: ijwelch
Subject: Beta Testing results
Date 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).




Replies:
Posted By: SuperMario
Date Posted: 25 October 2007 at 2:07pm
Thanks, we will see how much we can add for the final version.


Posted By: ijwelch
Date Posted: 02 November 2007 at 11:29pm
Wow. You've been busy.

Thanks for all the hard work.


Posted By: AndreiM
Date Posted: 03 November 2007 at 11:45am
Hi, all properties which you request added to final 11.2.1.


-------------
Regards,
Andrei Melnik



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net