Alaska Software Inc. - Block Functions - Feature Request
Alaska Software Inc. - Block Functions - Feature Request
Username: Password:
AuthorTopic: Block Functions - Feature Request
Simon White Block Functions - Feature Request
on Fri, 29 Jan 2010 16:50:51 -0500
Hi

It would be nice if the editor could comment out a highlighted section 
of code.  It would also be helpful if it could also convert the 
highlighted code to Upper, Lower or Proper case.

Thanks,
Simon
Joe Carrick Re: Block Functions - Feature Request
on Fri, 29 Jan 2010 18:43:39 -1000
Why not write your own tool for this?

Simon White wrote:
> Hi
>
> It would be nice if the editor could comment out a highlighted section 
> of code.  It would also be helpful if it could also convert the 
> highlighted code to Upper, Lower or Proper case.
>
> Thanks,
> Simon
Simon White Re: Block Functions - Feature Request
on Sat, 30 Jan 2010 14:36:31 -0500
Hi Joe

As someone new to xBase++ I did not know that I could extend the visual 
xbase editor.  Is there any documentation that might get me started?

Simon


On 29/01/2010 11:43 PM, Joe Carrick wrote:
> Why not write your own tool for this?
>
> Simon White wrote:
>> Hi
>>
>> It would be nice if the editor could comment out a highlighted section
>> of code. It would also be helpful if it could also convert the
>> highlighted code to Upper, Lower or Proper case.
>>
>> Thanks,
>> Simon
Joe Carrick Re: Block Functions - Feature Request
on Sat, 30 Jan 2010 14:00:42 -1000
Hi Simon,

It's not that you can extend the Xbase++ editor directly.  However, you 
can insert some special characters in your code to mark the beginning 
and end of the code which you wish to have commented out or otherwise 
modified.  Then, you create some apps that read in the file using 
memoread() and use use Xbase++ string functions to modify the file and 
write it back to disk using MemoWrit().  If you add these little Apps to 
the Visual Xbase Tools menu you can call them at will to make the 
changes.  Whenever a source file is modified Visual Xbase++ will ask if 
you want to reload it.  I would suggest using ///* as a starting 
delimiter and */// as an ending delimiter.  Then set your Apps up to 
simply modify the text within those limits and write the file back (also 
eliminate those particular delimeters when you write the file back.

-Joe

hth, Joe

Simon White wrote:
> Hi Joe
>
> As someone new to xBase++ I did not know that I could extend the 
> visual xbase editor.  Is there any documentation that might get me 
> started?
>
> Simon
>
>
> On 29/01/2010 11:43 PM, Joe Carrick wrote:
>> Why not write your own tool for this?
>>
>> Simon White wrote:
>>> Hi
>>>
>>> It would be nice if the editor could comment out a highlighted section
>>> of code. It would also be helpful if it could also convert the
>>> highlighted code to Upper, Lower or Proper case.
>>>
>>> Thanks,
>>> Simon
>
Thomas Braun
Re: Block Functions - Feature Request
on Wed, 10 Feb 2010 12:33:49 +0100
Joe Carrick wrote:

> It's not that you can extend the Xbase++ editor directly.  However, you 
> can insert some special characters in your code to mark the beginning 
> and end of the code which you wish to have commented out or otherwise 
> modified.  

Instead of that, he could just use one of the literally several hundred
available code editors out there... some of them are even free.

I'm using Multiedit since 10 or 15 years and never missed an IDE.

Honestly, instead of all the effort being put into the IDE and all the
things around "Arctica" I rather would like to see steps in the .net
direction with the final goal of having Xbase++.net and a compiler thats
capable of emitting MSIL code.

Then we could use the free SharpDevelop IDE and Alaska could concentrate on
improving the language...

Thomas