diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-18 20:03:36 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-18 20:03:36 +0100 |
| commit | ac3e60a3c49a2a1175564fbc994d3aed47c6bfb4 (patch) | |
| tree | 64d5dd3ef06d608970a6f2d61e5442dc2fd73b28 /src/IML | |
| parent | 3f84c4647e1adfb4da0415945113a70371b7527e (diff) | |
'/' handling to start at current node in BindingMember, test drag and drop
Diffstat (limited to 'src/IML')
| -rw-r--r-- | src/IML/BindingMember.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/IML/BindingMember.cs b/src/IML/BindingMember.cs index 7aaa851c..4a2b2c61 100644 --- a/src/IML/BindingMember.cs +++ b/src/IML/BindingMember.cs @@ -97,8 +97,10 @@ namespace Crow.IML IsStringConstant = true; return; } + } else if (string.IsNullOrEmpty (splitedExp [0])) { + ptr++; } else { - if (string.IsNullOrEmpty (splitedExp [0]) || splitedExp [0] == ".") {//template root + if (splitedExp [0] == ".") {//template root LevelsUp = -1; ptr++; } else { |