mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 09:17:23 +01:00
[apps/code] Put cursor inside parentheses when inserting function
In Code::VariableBoxController. Change-Id: Ib129781d46159c017bcb02e97c6667b6084f5b67
This commit is contained in:
committed by
EmilieNumworks
parent
291958a901
commit
99f6d73e19
@@ -4,6 +4,7 @@
|
||||
#include "script_node.h"
|
||||
#include "script_store.h"
|
||||
#include <escher/table_cell.h>
|
||||
#include <ion/charset.h>
|
||||
#include <kandinsky/coordinate.h>
|
||||
|
||||
namespace Code {
|
||||
@@ -22,6 +23,7 @@ public:
|
||||
void reloadCell() override;
|
||||
|
||||
constexpr static char k_parentheses[] = "()";
|
||||
constexpr static char k_parenthesesWithEmpty[] = {'(', Ion::Charset::Empty, ')', 0};
|
||||
protected:
|
||||
class ScriptNodeView : public HighlightCell {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user