Ignore:
Timestamp:
Oct 15, 2010, 10:04:55 AM (14 years ago)
Author:
george
Message:
  • Modified: Compiled code syntax highlighting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Transpascal/Forms/UProjectManager.pas

    r62 r63  
    4646        CompiledForm.SynEdit1.Lines.LoadFromFile(FileName) else
    4747          CompiledForm.SynEdit1.Lines.Clear;
     48        if ComboBoxTargetSelection.ItemIndex = 0 then
     49          CompiledForm.SynEdit1.Highlighter := CompiledForm.SynPasSyn1;
     50        if ComboBoxTargetSelection.ItemIndex = 1 then
     51          CompiledForm.SynEdit1.Highlighter := CompiledForm.SynCppSyn1;
     52        if ComboBoxTargetSelection.ItemIndex = 2 then
     53          CompiledForm.SynEdit1.Highlighter := nil;
     54        if ComboBoxTargetSelection.ItemIndex = 3 then
     55          CompiledForm.SynEdit1.Highlighter := CompiledForm.SynXMLSyn1;
    4856
    49       // Load code tree view
     57      (*// Load code tree view
    5058      Compiler.Producer.Free;
    5159      Compiler.Producer := TProducerTreeView.Create;
     
    5664      end;
    5765      //CodeTreeForm.TreeView1.Assign(TProducerTreeView(Compiler.Producer).TreeView);
     66      *)
    5867    end;
    5968  end;
Note: See TracChangeset for help on using the changeset viewer.