mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 22:00:28 +01:00
[apps/code] Use a special char to position the cursor in Python commands
Change-Id: I7ae3d6098160212d8683a671c78d3bdb937fb701
This commit is contained in:
@@ -40,7 +40,7 @@ ForInRange2ArgsLoop = "for i in range(,):\n "
|
||||
ForInRange2ArgsLoopWithArg = "for i in range(start, stop):\n instruction"
|
||||
ForInRange1ArgLoop = "for i in range():\n "
|
||||
ForInRange1ArgLoopWithArg = "for i in range(size):\n instruction"
|
||||
PythonCommandDef = "def ():\n "
|
||||
PythonCommandDef = "def •():\n "
|
||||
PythonCommandDefWithArg = "def function(x):"
|
||||
PythonCommandReturn = "return "
|
||||
RandomModule = "random"
|
||||
|
||||
@@ -12,7 +12,8 @@ ion_special_characters = {
|
||||
u'μ': "Ion::Charset::SmallMu",
|
||||
u'σ': "Ion::Charset::SmallSigma",
|
||||
u'≤': "Ion::Charset::LessEqual",
|
||||
u'≈': "Ion::Charset::AlmostEqual"
|
||||
u'≈': "Ion::Charset::AlmostEqual",
|
||||
u'•': "Ion::Charset::Empty"
|
||||
}
|
||||
|
||||
def ion_char(i18n_letter):
|
||||
|
||||
Reference in New Issue
Block a user