View unanswered posts | View active topics



Reply to topic  [ 1 post ] 
Flambe get Component Macro 
Author Message
Member

Joined: Wed Apr 16, 2008 9:42 am
Posts: 88
Reply with quote
In Flambe (Haxe framework), you likely use a lot of Components and you probably want to grab other components from the owner Entity. I want it to share this macro, in case anyone needs it.

Image

Installation Part 1: Create a new snippet
name it "component"
Code:
var $(EntryPoint)$(CurWord)$(ExitPoint):$(CurWord) = owner.get($(CurWord));

Installation Part 2: Create a new macro
Code:
AutoRun: False
Entries:
 InsertSnippet|component
 ScintillaCommand|CharRightExtend
 ScintillaCommand|LowerCase
 ScintillaCommand|LineEnd
 ScintillaCommand|NewLine
Image:67
Label: "Flambe - Get Component"
Shortcut: Ctrl+Alt+Shift+1

_________________
https://www.curioos.com/markknol


Thu Jan 30, 2014 10:36 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.