Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] ToggleCommentAction usage

Hi Edgar,

ToggleCommentAction is already created in ScriptEditor, the comment sequence is specified by getCommentPrefix() method of the ScriptSourceViewerConfiguration class. If your comment sequence is different this method should be overridden.

Regards,
Alex

----- Original Message -----
From: "Edgar Espina" <espina.edgar@xxxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Thursday, September 25, 2008 10:50:44 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] ToggleCommentAction usage



Hi all, 
How can I add comment action to my editor? 
Can I use org.eclipse.dltk.internal.ui.editor.ToggleCommentAction? 

thanks! 
-- 
edgar 

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top