vijirams / alsing

Automatically exported from code.google.com/p/alsing
0 stars 0 forks source link

AutoList Not functioning or I'm not doing it correctly. #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Added AutoList Code

Me.SyntaxBoxControl1.AutoListClear()
Me.SyntaxBoxControl1.AutoListBeginLoad()
Me.SyntaxBoxControl1.AutoListAdd("test1", 0)
Me.SyntaxBoxControl1.AutoListAdd("test2", 1)
Me.SyntaxBoxControl1.AutoListAdd("test3", 2)
Me.SyntaxBoxControl1.AutoListEndLoad()
Me.SyntaxBoxControl1.AutoListVisible = True

What is the expected output? What do you see instead?

If code completion works as expected, I would assume the text would appear
if I started typing "te"

What version of the product are you using? On what operating system?

Puzzle.SyntaxBox.NET3.5 on Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by pablleaf on 29 Dec 2009 at 2:40

GoogleCodeExporter commented 9 years ago
I am willing to use this control in an application (Editor for a language) but 
the Auto completion thing is keeping me back...
When will this issue be resolved? 
I really need it to work.

Original comment by abdulsa...@gmail.com on 30 Sep 2010 at 1:05

GoogleCodeExporter commented 9 years ago
I'm hitting the same problem here. Sometimes it seems to display way outside 
the bounds of the SyntaxBox control itself, I tried setting the 
AutoListPosition to being the Caret position, but that didn't seem to help. I 
have also tried playing around with the order that I am calling the properties 
in but it just doesn't seem to like me:

            SQLControl.AutoListVisible = False
            SQLControl.AutoListPosition = SQLControl.Caret.Position

            SQLControl.AutoListBeginLoad()
            SQLControl.AutoListClear()

            For Each T As Table In Mainform.currentDatabase.Tables
                SQLControl.AutoListAdd(T.Name, 0)
            Next

            SQLControl.AutoListEndLoad()
            SQLControl.AutoListPosition = SQLControl.Caret.Position
            SQLControl.AutoListVisible = True

Original comment by lawrence...@gmail.com on 27 Oct 2010 at 10:27

GoogleCodeExporter commented 9 years ago
I have the same problem, when will this issue be fixed??

Original comment by renesweb...@gmail.com on 7 Dec 2010 at 8:59