Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Syntax Edit
  New Posts New Posts RSS Feed - Beta Testing results
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Beta Testing results

 Post Reply Post Reply
Author
Message
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Topic: Beta Testing results
    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).

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2007 at 2:07pm
Thanks, we will see how much we can add for the final version.
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 02 November 2007 at 11:29pm
Wow. You've been busy.

Thanks for all the hard work.
Back to Top
AndreiM View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 18 August 2007
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndreiM Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2007 at 11:45am
Hi, all properties which you request added to final 11.2.1.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.