mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
ide: 'No warnings' in the main package disable assist errors (red blocks in the text) for the whole project
This commit is contained in:
parent
46201221b8
commit
67315817d2
2 changed files with 6 additions and 5 deletions
|
|
@ -469,7 +469,8 @@ void AssistEditor::SyncCurrentFile(const CurrentFileContext& cfx)
|
|||
SetAnnotations(f);
|
||||
|
||||
ClearErrors();
|
||||
if(!IsCurrentFileDirty() && theide && theide->IsProjectFile(theide->editfile)) {
|
||||
if(!IsCurrentFileDirty() && theide && theide->IsProjectFile(theide->editfile) && GetIdeWorkspace().GetCount()
|
||||
&& !GetIdeWorkspace().GetPackage(0).nowarnings) {
|
||||
errors = clone(ds);
|
||||
|
||||
Vector<Point> err;
|
||||
|
|
|
|||
|
|
@ -166,13 +166,13 @@ LAYOUT(NewPackageLayout, 892, 588)
|
|||
END_LAYOUT
|
||||
|
||||
LAYOUT(FileFormatLayout, 348, 184)
|
||||
ITEM(Upp::Label, dv___0, SetLabel(t_("&Encoding")).LeftPosZ(8, 64).TopPosZ(8, 20))
|
||||
ITEM(Upp::Label, dv___0, SetLabel(t_("Encoding")).LeftPosZ(8, 64).TopPosZ(8, 20))
|
||||
ITEM(Upp::DropList, charset, LeftPosZ(80, 120).TopPosZ(8, 19))
|
||||
ITEM(Upp::Label, dv___2, SetLabel(t_("&Font")).LeftPosZ(8, 76).TopPosZ(32, 20))
|
||||
ITEM(Upp::Label, dv___2, SetLabel(t_("Font")).LeftPosZ(8, 76).TopPosZ(32, 20))
|
||||
ITEM(Upp::DropList, font, LeftPosZ(80, 120).TopPosZ(32, 19))
|
||||
ITEM(Upp::Label, dv___4, SetLabel(t_("T&ab size")).LeftPosZ(8, 48).TopPosZ(56, 19))
|
||||
ITEM(Upp::Label, dv___4, SetLabel(t_("Tab size")).LeftPosZ(8, 48).TopPosZ(56, 19))
|
||||
ITEM(Upp::EditIntSpin, tabsize, LeftPosZ(80, 50).TopPosZ(56, 19))
|
||||
ITEM(Upp::Label, dv___6, SetLabel(t_("&Highlighting")).LeftPosZ(8, 63).TopPosZ(80, 19))
|
||||
ITEM(Upp::Label, dv___6, SetLabel(t_("Highlighting")).LeftPosZ(8, 72).TopPosZ(80, 19))
|
||||
ITEM(Upp::DropList, highlight, LeftPosZ(80, 260).TopPosZ(80, 19))
|
||||
ITEM(Upp::Label, dv___8, SetLabel(t_("Line endings")).LeftPosZ(8, 96).TopPosZ(104, 19))
|
||||
ITEM(Upp::DropList, line_endings, LeftPosZ(80, 68).TopPosZ(104, 19))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue