Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 beta question
Message
 
 
To
14/12/2000 18:59:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00452462
Message ID:
00454578
Views:
36
>>>>Now if VFP could get some of the features of the VB editor...
>>>
>>>What do you have in mind?
>>
>>First, you probably know how AR I am about my code. Back in QB (that's right QB) and continuing in VB, if you were to enter:
a=b+c
the editor modified that to:
a = b + c
It also inserted a space after commas, set the keyword capitalization properly and expanded abbreviations. Further, if you typed a variable name as:
>>
>>lcsomevar
>>
>>and later changed it to
>>
>>lcSomeVar
>>
>>that change was reflected throughout the code module. IOW, everything became lcSomeVar.
>>
>>Lastly, real time syntaxing. When the enter key is pressed the line is evaluated for syntactical correctness. I first ran into this on the Atari 8K BASIC back in the early 80s and have been a fan of this ever since.
>
>Personally, I hate that feature.


How about editor event hooks, so we could write our own editor extensions? AfterSpaceBar(), BeforeNewLine(), BeforeSave(), etc.. I haven't experimented enough with VFP7 to know where the limits of IntelliSense are, but someone else here might have more info. Personally, I'd write a set of syntax checkers for XML, HTML, etc. that work within the VFP editor. That would be useful doing Web Connect development, wouldn't it?
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein

Bruce Allen
NTX Data
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform