ide: Improved Assist in layout files in text mode

This commit is contained in:
Mirek Fidler 2024-05-03 12:33:31 +02:00
parent 20e5b5fafd
commit 838b25429b
5 changed files with 38 additions and 11 deletions

View file

@ -92,6 +92,10 @@ void Ide::ContextGoto0(int pos)
String l = editor.GetUtf8Line(li);
if(OpenLink(l, lp))
return;
if(editfile.EndsWith(".lay")) {
EditUsingDesigner();
return;
}
if(IsPif(l) || IsPelse(l)) {
int lvl = 0;
while(li + 1 < editor.GetLineCount()) {