Search found 7 matches

by ivelink
Mon Mar 09, 2015 3:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Syntax highlighter
Replies: 1
Views: 1904

Syntax highlighter

Hello I am trying to make a python code editor that highlights keywords, operators and strings. The problem of course is with the quotes as Python supports single, double and triple quotes for strings. Ex: x = 'some text' x = "some text" x = '''some text''' Also i can't find a way to go back and mod...
by ivelink
Thu Dec 11, 2014 12:43 pm
Forum: Talking LiveCode
Topic: KeyUp vs KeyDown
Replies: 13
Views: 8393

Re: KeyUp vs KeyDown

Thanks.
That makes sense.
I will try. Hopefully will resolve the issue too.
by ivelink
Thu Dec 11, 2014 1:25 am
Forum: Talking LiveCode
Topic: KeyUp vs KeyDown
Replies: 13
Views: 8393

Re: KeyUp vs KeyDown

Is there a difference in performance or just for clarity ?
by ivelink
Wed Dec 10, 2014 2:15 pm
Forum: Talking LiveCode
Topic: KeyUp vs KeyDown
Replies: 13
Views: 8393

Re: KeyUp vs KeyDown

Here is the stack
by ivelink
Wed Dec 10, 2014 12:05 am
Forum: Talking LiveCode
Topic: KeyUp vs KeyDown
Replies: 13
Views: 8393

Re: KeyUp vs KeyDown

I just tested the same script on Mac and it works fine.
Why doesn't work the same on my PC ?
by ivelink
Tue Dec 09, 2014 10:01 pm
Forum: Talking LiveCode
Topic: KeyUp vs KeyDown
Replies: 13
Views: 8393

Re: KeyUp vs KeyDown

Hello Craig,

yes i would like to show them as I type.

Thanks
by ivelink
Tue Dec 09, 2014 3:53 pm
Forum: Talking LiveCode
Topic: KeyUp vs KeyDown
Replies: 13
Views: 8393

KeyUp vs KeyDown

I am trying to make a simple code editor with syntax highlighting. If i use on keyDown it's working but requires a lot more code. Why keyUp is causing this misbehavior ? on keyUp pKey -- in case of empty pKey if pKey is empty then exit keyUp end if if pKey is a number then set the textcolor of the l...