TextDocument: Fixed a crash on remove function.

Faster Node::childsCloseAll.
ecode: Added basic Solidity support.
And some minor changes.
This commit is contained in:
Martín Lucas Golini
2021-02-16 02:24:31 -03:00
parent faabefeca6
commit c4d544f0b2
9 changed files with 122 additions and 27 deletions

View File

@@ -62,7 +62,8 @@ enum NodeFlags {
NODE_FLAG_LAYOUT = ( 1 << 26 ),
NODE_FLAG_LOADING = ( 1 << 27 ),
NODE_FLAG_FREE_USE = ( 1 << 28 )
NODE_FLAG_CLOSING_CHILDREN = ( 1 << 28 ),
NODE_FLAG_FREE_USE = ( 1 << 29 )
};
class EE_API Node : public Transformable {
@@ -391,6 +392,8 @@ class EE_API Node : public Transformable {
bool isClosing() const;
bool isClosingChildren() const;
virtual Node* overFind( const Vector2f& Point );
/** This removes the node from its parent. Never use this unless you know what you are doing. */