mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 06:08:17 +02:00
IDE: todo list: commit synedit buffers to codetools
git-svn-id: trunk@19940 -
This commit is contained in:
parent
1994036cf2
commit
a8ecb3e7aa
@ -1,19 +1,20 @@
|
||||
object TodoDialog: TTodoDialog
|
||||
Left = 342
|
||||
Height = 269
|
||||
Height = 267
|
||||
Top = 202
|
||||
Width = 475
|
||||
ActiveControl = TodoMemo
|
||||
Caption = 'Insert Todo'
|
||||
ClientHeight = 269
|
||||
ClientHeight = 267
|
||||
ClientWidth = 475
|
||||
OnCreate = FormCreate
|
||||
Position = poScreenCenter
|
||||
LCLVersion = '0.9.27'
|
||||
object TodoLabel: TLabel
|
||||
Left = 8
|
||||
Height = 14
|
||||
Height = 18
|
||||
Top = 8
|
||||
Width = 27
|
||||
Width = 30
|
||||
Caption = 'Text:'
|
||||
FocusControl = TodoMemo
|
||||
ParentColor = False
|
||||
@ -22,9 +23,9 @@ object TodoDialog: TTodoDialog
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideBottom.Control = PriorityEdit
|
||||
Left = 10
|
||||
Height = 14
|
||||
Top = 189
|
||||
Width = 35
|
||||
Height = 18
|
||||
Top = 179
|
||||
Width = 45
|
||||
Anchors = [akLeft, akBottom]
|
||||
BorderSpacing.Bottom = 2
|
||||
Caption = 'Priority'
|
||||
@ -33,18 +34,18 @@ object TodoDialog: TTodoDialog
|
||||
object OwnerLabel: TLabel
|
||||
AnchorSideTop.Control = PriorityLabel
|
||||
Left = 75
|
||||
Height = 14
|
||||
Top = 189
|
||||
Width = 33
|
||||
Height = 18
|
||||
Top = 179
|
||||
Width = 41
|
||||
Caption = 'Owner'
|
||||
ParentColor = False
|
||||
end
|
||||
object CategoryLabel: TLabel
|
||||
AnchorSideTop.Control = PriorityLabel
|
||||
Left = 248
|
||||
Height = 14
|
||||
Top = 189
|
||||
Width = 46
|
||||
Height = 18
|
||||
Top = 179
|
||||
Width = 59
|
||||
Caption = 'Category'
|
||||
ParentColor = False
|
||||
end
|
||||
@ -55,8 +56,8 @@ object TodoDialog: TTodoDialog
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = PriorityLabel
|
||||
Left = 6
|
||||
Height = 159
|
||||
Top = 24
|
||||
Height = 145
|
||||
Top = 28
|
||||
Width = 463
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
BorderSpacing.Top = 2
|
||||
@ -68,11 +69,10 @@ object TodoDialog: TTodoDialog
|
||||
object PriorityEdit: TEdit
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 6
|
||||
Height = 23
|
||||
Top = 205
|
||||
Height = 27
|
||||
Top = 199
|
||||
Width = 38
|
||||
Anchors = [akLeft, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Bottom = 6
|
||||
OnKeyPress = PriorityEditKeyPress
|
||||
TabOrder = 1
|
||||
@ -80,10 +80,9 @@ object TodoDialog: TTodoDialog
|
||||
object OwnerEdit: TEdit
|
||||
AnchorSideTop.Control = PriorityEdit
|
||||
Left = 76
|
||||
Height = 23
|
||||
Top = 205
|
||||
Height = 27
|
||||
Top = 199
|
||||
Width = 162
|
||||
AutoSize = True
|
||||
TabOrder = 2
|
||||
end
|
||||
object CategoryEdit: TEdit
|
||||
@ -91,18 +90,17 @@ object TodoDialog: TTodoDialog
|
||||
AnchorSideRight.Control = Owner
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 248
|
||||
Height = 23
|
||||
Top = 205
|
||||
Height = 27
|
||||
Top = 199
|
||||
Width = 221
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
AutoSize = True
|
||||
BorderSpacing.Right = 6
|
||||
TabOrder = 3
|
||||
end
|
||||
object BtnPanel: TButtonPanel
|
||||
Left = 6
|
||||
Height = 26
|
||||
Top = 237
|
||||
Height = 36
|
||||
Top = 225
|
||||
Width = 463
|
||||
TabOrder = 4
|
||||
ShowButtons = [pbOK, pbCancel]
|
||||
|
@ -1,37 +1,37 @@
|
||||
{ This is an automatically generated lazarus resource file }
|
||||
|
||||
LazarusResources.Add('TTodoDialog','FORMDATA',[
|
||||
'TPF0'#11'TTodoDialog'#10'TodoDialog'#4'Left'#3'V'#1#6'Height'#3#13#1#3'Top'#3
|
||||
+#202#0#5'Width'#3#219#1#7'Caption'#6#11'Insert Todo'#12'ClientHeight'#3#13#1
|
||||
+#11'ClientWidth'#3#219#1#8'OnCreate'#7#10'FormCreate'#8'Position'#7#14'poScr'
|
||||
+'eenCenter'#10'LCLVersion'#6#6'0.9.27'#0#6'TLabel'#9'TodoLabel'#4'Left'#2#8#6
|
||||
+'Height'#2#14#3'Top'#2#8#5'Width'#2#27#7'Caption'#6#5'Text:'#12'FocusControl'
|
||||
+#7#8'TodoMemo'#11'ParentColor'#8#0#0#6'TLabel'#13'PriorityLabel'#18'AnchorSi'
|
||||
+'deTop.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#12'PriorityEdit'#4
|
||||
+'Left'#2#10#6'Height'#2#14#3'Top'#3#189#0#5'Width'#2'#'#7'Anchors'#11#6'akLe'
|
||||
+'ft'#8'akBottom'#0#20'BorderSpacing.Bottom'#2#2#7'Caption'#6#8'Priority'#11
|
||||
+'ParentColor'#8#0#0#6'TLabel'#10'OwnerLabel'#21'AnchorSideTop.Control'#7#13
|
||||
+'PriorityLabel'#4'Left'#2'K'#6'Height'#2#14#3'Top'#3#189#0#5'Width'#2'!'#7'C'
|
||||
+'aption'#6#5'Owner'#11'ParentColor'#8#0#0#6'TLabel'#13'CategoryLabel'#21'Anc'
|
||||
+'horSideTop.Control'#7#13'PriorityLabel'#4'Left'#3#248#0#6'Height'#2#14#3'To'
|
||||
+'p'#3#189#0#5'Width'#2'.'#7'Caption'#6#8'Category'#11'ParentColor'#8#0#0#5'T'
|
||||
+'Memo'#8'TodoMemo'#21'AnchorSideTop.Control'#7#9'TodoLabel'#18'AnchorSideTop'
|
||||
+'.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideR'
|
||||
+'ight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#13'PriorityLabel'#4
|
||||
+'Left'#2#6#6'Height'#3#159#0#3'Top'#2#24#5'Width'#3#207#1#7'Anchors'#11#5'ak'
|
||||
+'Top'#6'akLeft'#7'akRight'#8'akBottom'#0#17'BorderSpacing.Top'#2#2#19'Border'
|
||||
+'Spacing.Right'#2#6#20'BorderSpacing.Bottom'#2#6#10'ScrollBars'#7#10'ssAutoB'
|
||||
+'oth'#8'TabOrder'#2#0#0#0#5'TEdit'#12'PriorityEdit'#18'AnchorSideTop.Side'#7
|
||||
+#9'asrBottom'#4'Left'#2#6#6'Height'#2#23#3'Top'#3#205#0#5'Width'#2'&'#7'Anch'
|
||||
+'ors'#11#6'akLeft'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Bottom'#2#6
|
||||
+#10'OnKeyPress'#7#20'PriorityEditKeyPress'#8'TabOrder'#2#1#0#0#5'TEdit'#9'Ow'
|
||||
+'nerEdit'#21'AnchorSideTop.Control'#7#12'PriorityEdit'#4'Left'#2'L'#6'Height'
|
||||
+#2#23#3'Top'#3#205#0#5'Width'#3#162#0#8'AutoSize'#9#8'TabOrder'#2#2#0#0#5'TE'
|
||||
+'dit'#12'CategoryEdit'#21'AnchorSideTop.Control'#7#12'PriorityEdit'#23'Ancho'
|
||||
+'rSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Le'
|
||||
+'ft'#3#248#0#6'Height'#2#23#3'Top'#3#205#0#5'Width'#3#221#0#7'Anchors'#11#5
|
||||
+'akTop'#6'akLeft'#7'akRight'#0#8'AutoSize'#9#19'BorderSpacing.Right'#2#6#8'T'
|
||||
+'abOrder'#2#3#0#0#12'TButtonPanel'#8'BtnPanel'#4'Left'#2#6#6'Height'#2#26#3
|
||||
+'Top'#3#237#0#5'Width'#3#207#1#8'TabOrder'#2#4#11'ShowButtons'#11#4'pbOK'#8
|
||||
+'pbCancel'#0#9'ShowBevel'#8#0#0#0
|
||||
'TPF0'#11'TTodoDialog'#10'TodoDialog'#4'Left'#3'V'#1#6'Height'#3#11#1#3'Top'#3
|
||||
+#202#0#5'Width'#3#219#1#13'ActiveControl'#7#8'TodoMemo'#7'Caption'#6#11'Inse'
|
||||
+'rt Todo'#12'ClientHeight'#3#11#1#11'ClientWidth'#3#219#1#8'OnCreate'#7#10'F'
|
||||
+'ormCreate'#8'Position'#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.27'#0#6
|
||||
+'TLabel'#9'TodoLabel'#4'Left'#2#8#6'Height'#2#18#3'Top'#2#8#5'Width'#2#30#7
|
||||
+'Caption'#6#5'Text:'#12'FocusControl'#7#8'TodoMemo'#11'ParentColor'#8#0#0#6
|
||||
+'TLabel'#13'PriorityLabel'#18'AnchorSideTop.Side'#7#9'asrBottom'#24'AnchorSi'
|
||||
+'deBottom.Control'#7#12'PriorityEdit'#4'Left'#2#10#6'Height'#2#18#3'Top'#3
|
||||
+#179#0#5'Width'#2'-'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#20'BorderSpacing.'
|
||||
+'Bottom'#2#2#7'Caption'#6#8'Priority'#11'ParentColor'#8#0#0#6'TLabel'#10'Own'
|
||||
+'erLabel'#21'AnchorSideTop.Control'#7#13'PriorityLabel'#4'Left'#2'K'#6'Heigh'
|
||||
+'t'#2#18#3'Top'#3#179#0#5'Width'#2')'#7'Caption'#6#5'Owner'#11'ParentColor'#8
|
||||
+#0#0#6'TLabel'#13'CategoryLabel'#21'AnchorSideTop.Control'#7#13'PriorityLabe'
|
||||
+'l'#4'Left'#3#248#0#6'Height'#2#18#3'Top'#3#179#0#5'Width'#2';'#7'Caption'#6
|
||||
+#8'Category'#11'ParentColor'#8#0#0#5'TMemo'#8'TodoMemo'#21'AnchorSideTop.Con'
|
||||
+'trol'#7#9'TodoLabel'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRig'
|
||||
+'ht.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSid'
|
||||
+'eBottom.Control'#7#13'PriorityLabel'#4'Left'#2#6#6'Height'#3#145#0#3'Top'#2
|
||||
+#28#5'Width'#3#207#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'
|
||||
+#0#17'BorderSpacing.Top'#2#2#19'BorderSpacing.Right'#2#6#20'BorderSpacing.Bo'
|
||||
+'ttom'#2#6#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder'#2#0#0#0#5'TEdit'#12'P'
|
||||
+'riorityEdit'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2
|
||||
+#27#3'Top'#3#199#0#5'Width'#2'&'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#20'Bo'
|
||||
+'rderSpacing.Bottom'#2#6#10'OnKeyPress'#7#20'PriorityEditKeyPress'#8'TabOrde'
|
||||
+'r'#2#1#0#0#5'TEdit'#9'OwnerEdit'#21'AnchorSideTop.Control'#7#12'PriorityEdi'
|
||||
+'t'#4'Left'#2'L'#6'Height'#2#27#3'Top'#3#199#0#5'Width'#3#162#0#8'TabOrder'#2
|
||||
+#2#0#0#5'TEdit'#12'CategoryEdit'#21'AnchorSideTop.Control'#7#12'PriorityEdit'
|
||||
+#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBott'
|
||||
+'om'#4'Left'#3#248#0#6'Height'#2#27#3'Top'#3#199#0#5'Width'#3#221#0#7'Anchor'
|
||||
+'s'#11#5'akTop'#6'akLeft'#7'akRight'#0#19'BorderSpacing.Right'#2#6#8'TabOrde'
|
||||
+'r'#2#3#0#0#12'TButtonPanel'#8'BtnPanel'#4'Left'#2#6#6'Height'#2'$'#3'Top'#3
|
||||
+#225#0#5'Width'#3#207#1#8'TabOrder'#2#4#11'ShowButtons'#11#4'pbOK'#8'pbCance'
|
||||
+'l'#0#9'ShowBevel'#8#0#0#0
|
||||
]);
|
||||
|
@ -614,13 +614,16 @@ var
|
||||
begin
|
||||
if fBuild then Exit;
|
||||
|
||||
DebugLn(['TfrmTodo.acRefreshExecute MainSourceFilename=',MainSourceFilename]);
|
||||
//DebugLn(['TfrmTodo.acRefreshExecute MainSourceFilename=',MainSourceFilename]);
|
||||
|
||||
if not LazarusIDE.BeginCodeTools then exit;
|
||||
|
||||
Screen.Cursor:=crHourGlass;
|
||||
Owners:=nil;
|
||||
try
|
||||
fBuild:=True;
|
||||
CodeToolBoss.ActivateWriteLock;
|
||||
|
||||
fScannedFiles.FreeAndClear;
|
||||
lvTodo.Items.Clear;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user