Thank you very much Honza, your resources really helped me. I fixed the 
problem. 

Ebrahim

On Friday, July 12, 2013 4:36:51 PM UTC+2, Jan Honza Odvarko wrote:
>
>
>
> On Friday, July 12, 2013 3:40:24 PM UTC+2, Ebrahim wrote:
>>
>> Thanks Honza for your reply.
>>
>> I am not sure I am right, but I use the following code to set value in 
>> the editor. 
>> -----------------------------------------------------------------------
>>
>> context.commandLineText = "MY_SCRIPT_COMES_HERE";
>>
>> -----------------------------------------------------------------------
>>
> I don't think this would work correctly .
>
> Take yet a look at our automated test framework here:
> typeCommand:
>
> https://github.com/firebug/firebug/blob/master/tests/FBTest/content/FBTestFirebug.js#L1313
>  
>
>> My another question is that how can I trigger the "Run" button from my 
>> extension? 
>>
>> Again you can see our test harness here, executeCommand:
>
> https://github.com/firebug/firebug/blob/master/tests/FBTest/content/FBTestFirebug.js#L1276
>  
> Honza
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/35a85fc7-3af3-4011-8582-c4108262553e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to