Пример #1
0
void FarEditor::setFileType(FileType *ftype)
{
  baseEditor->setFileType(ftype);
  // clear Outliner
  structOutliner->modifyEvent(0);
  errorOutliner->modifyEvent(0);
  reloadTypeSettings();
}
Пример #2
0
void FarEditor::setDrawCross(bool drawCross)
{
  if (!drawCross){
    showHorizontalCross = false;
    showVerticalCross   = false;
  }else{
    reloadTypeSettings();
  }
}
Пример #3
0
void FarEditor::setDrawCross(int _drawCross)
{
  drawCross=_drawCross;
  switch (drawCross){
  case 0:
    showHorizontalCross = false;
    showVerticalCross   = false;
    break;
  case 1:
    showHorizontalCross = true;
    showVerticalCross   = true;
    break;
  case 2:
    reloadTypeSettings();
    break;
  }
}
Пример #4
0
void FarEditor::setFileType(FileType *ftype){
  baseEditor->setFileType(ftype);

  reloadTypeSettings();
}