mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Added UnversionedLibDir to config
This commit is contained in:
parent
d48d03c58b
commit
f258b4a25b
8 changed files with 81 additions and 39 deletions
|
@ -1762,6 +1762,30 @@ namespace IDE
|
|||
}
|
||||
}
|
||||
|
||||
[IDECommand]
|
||||
public void AssertIsAtColumn(String fileName, int column)
|
||||
{
|
||||
String filePath = scope String();
|
||||
FixSrcPath(fileName, filePath);
|
||||
|
||||
var sourceViewPanel = GetActiveSourceViewPanel();
|
||||
if (sourceViewPanel == null)
|
||||
return;
|
||||
|
||||
if (!Path.Equals(filePath, sourceViewPanel.mFilePath))
|
||||
{
|
||||
ScriptManager.sActiveManager.Fail("Expected source file '{0}', got '{1}'", filePath, sourceViewPanel.mFilePath);
|
||||
return;
|
||||
}
|
||||
|
||||
let atColumn = sourceViewPanel.mEditWidget.mEditWidgetContent.CursorLineAndColumn.mColumn + 1;
|
||||
if (atColumn != column)
|
||||
{
|
||||
ScriptManager.sActiveManager.Fail("Expected column '{0}', got '{1}'", column, atColumn);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
[IDECommand]
|
||||
public void GotoTextSkip(String findText, int skipIdx)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue