[MonoDevelop] Some questions
Alejandro Serrano
trupill at yahoo.es
Fri Mar 3 08:14:26 EST 2006
So then, what's the best way to take the text from one line-column to
another line-column? I already managed how to find the method, so that's
the only thing left.
Regards
trupill
Kamil Skalski escribió:
> 2006/3/2, Jacob Ilsø Christensen <jacobilsoe at gmail.com>:
>
>> Hi.
>>
>> I am afraid I don't know exactly what you want to do. In this example:
>>
>> void M()
>> {
>> int a;
>> int b;|
>> int c;
>> }
>>
>> The cursor is indicated by |. Is what you want to retrieve this piece of code:
>>
>> int a;
>> int b;
>>
>> ?
>>
>
> Yes. In short it is the exact information needed for context-sensitive
> code completion, like:
>
> void M() {
> string a;
> a = foo ();
> a. |
> }
>
> In the caret | location we need the whole "
> sting a;
> a = foo ();
> "
> piece of code in order to compute which are the possible completions for "a."
>
>
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
More information about the Monodevelop-list
mailing list