Subversion Repositories fastphp

Compare Revisions

Regard whitespace Rev 98 → Rev 99

/trunk/EditorMain.dfm
1,7 → 1,7
object Form1: TForm1
Left = 0
Top = 0
Caption = 'ViaThinkSoft FastPHP 0.6'
Caption = 'ViaThinkSoft FastPHP 0.7'
ClientHeight = 661
ClientWidth = 1120
Color = clBtnFace
116,6 → 116,7
Font.Style = []
Font.Quality = fqClearTypeNatural
TabOrder = 0
OnKeyDown = SynEdit1KeyDown
OnMouseWheelDown = SynEdit1MouseWheelDown
OnMouseWheelUp = SynEdit1MouseWheelUp
CodeFolding.ShowCollapsedLine = True
177,8 → 178,14
Height = 321
Align = alLeft
Color = clCream
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
Images = ImageList1
Indent = 19
ParentFont = False
ReadOnly = True
TabOrder = 1
OnDblClick = TreeView1DblClick
890,4 → 897,9
Left = 356
Top = 276
end
object FontSizeTimer: TTimer
OnTimer = FontSizeTimerTimer
Left = 60
Top = 460
end
end
/trunk/EditorMain.pas
126,6 → 126,7
ActionSaveAs: TAction;
ActionGoToPHPDir: TAction;
ActionPHPInteractiveShell: TAction;
FontSizeTimer: TTimer;
procedure Run(Sender: TObject);
procedure RunConsole(Sender: TObject);
procedure FormShow(Sender: TObject);
190,6 → 191,7
procedure ActionPHPInteractiveShellExecute(Sender: TObject);
procedure SynEdit1KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
procedure FontSizeTimerTimer(Sender: TObject);
private
hMutex: THandle;
CurSearchTerm: string;
1055,6 → 1057,12
FileModTimer.Enabled := true;
end;
 
procedure TForm1.FontSizeTimerTimer(Sender: TObject);
begin
if Memo2.Font.Size <> SynEdit1.Font.Size then
Memo2.Font.Size := SynEdit1.Font.Size;
end;
 
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
DragAcceptFiles(Handle, False);
/trunk/codeexplorer.php
95,7 → 95,7
$value = (!is_array($data)) ? null : $data[1];
$line = (!is_array($data)) ? null : $data[2];
 
if ($value == '${') $dep++;
if ($value == '${') $dep++; // TODO: "${...}" ??? "{$...}" ???
 
if ($wait_function && ($data == '{')) {
$wait_function = false; // Anonymous functions do not have a name