Ignore:
Timestamp:
Feb 22, 2022, 11:07:27 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Improved compare dialog to show text compare of vcard data.
  • Modified: Both compare sides now have scrollbar synced.
  • Modified: Compare panels keep horizontal size ratio during window resize.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormCompare.lfm

    r120 r121  
    11object FormCompare: TFormCompare
    2   Left = 546
     2  Left = 574
    33  Height = 925
    4   Top = 159
     4  Top = 322
    55  Width = 1241
    66  Caption = 'Compare'
    7   ClientHeight = 925
     7  ClientHeight = 890
    88  ClientWidth = 1241
    99  DesignTimePPI = 150
     10  Menu = MainMenu1
     11  OnActivate = FormActivate
    1012  OnClose = FormClose
    1113  OnCreate = FormCreate
    1214  OnDestroy = FormDestroy
     15  OnResize = FormResize
    1316  OnShow = FormShow
    1417  LCLVersion = '2.2.0.4'
    1518  object PanelLeft: TPanel
    1619    Left = 0
    17     Height = 925
     20    Height = 890
    1821    Top = 0
    1922    Width = 608
    2023    Align = alLeft
    2124    BevelOuter = bvNone
    22     ClientHeight = 925
     25    ClientHeight = 890
    2326    ClientWidth = 608
    2427    TabOrder = 0
    2528    object EditLeftFileName: TEdit
    26       Left = 12
     29      Left = 16
    2730      Height = 43
    2831      Top = 11
    29       Width = 589
     32      Width = 544
    3033      Anchors = [akTop, akLeft, akRight]
    3134      ReadOnly = True
    3235      TabOrder = 0
    3336    end
    34     inline SynEdit1: TSynEdit
     37    inline SynEditLeft: TSynEditEx
    3538      Left = 16
    36       Height = 848
     39      Height = 813
    3740      Top = 64
    3841      Width = 585
     
    492495      LineHighlightColor.Background = clNone
    493496      LineHighlightColor.Foreground = clNone
     497      OnChange = SynEditLeftChange
     498      OnScroll = SynEditLeftScroll
    494499      inline SynLeftGutterPartList1: TSynGutterPartList
    495500        object SynGutterMarks1: TSynGutterMarks
     
    529534      end
    530535    end
     536    object SpeedButtonOpenLeft: TSpeedButton
     537      Left = 565
     538      Height = 34
     539      Top = 15
     540      Width = 36
     541      Action = AFileOpenLeft
     542      Anchors = [akTop, akRight]
     543      Images = Core.ImageList1
     544      ImageIndex = 5
     545      ShowCaption = False
     546    end
    531547  end
    532548  object Splitter1: TSplitter
    533549    Left = 608
    534     Height = 925
     550    Height = 890
    535551    Top = 0
    536552    Width = 8
     
    538554  object PanelRight: TPanel
    539555    Left = 616
    540     Height = 925
     556    Height = 890
    541557    Top = 0
    542558    Width = 625
    543559    Align = alClient
    544560    BevelOuter = bvNone
    545     ClientHeight = 925
     561    ClientHeight = 890
    546562    ClientWidth = 625
    547563    TabOrder = 2
     
    550566      Height = 43
    551567      Top = 11
    552       Width = 599
     568      Width = 551
    553569      Anchors = [akTop, akLeft, akRight]
    554570      ReadOnly = True
    555571      TabOrder = 0
    556572    end
    557     inline SynEdit2: TSynEdit
     573    inline SynEditRight: TSynEditEx
    558574      Left = 16
    559       Height = 848
     575      Height = 813
    560576      Top = 64
    561577      Width = 595
     
    10151031      LineHighlightColor.Background = clNone
    10161032      LineHighlightColor.Foreground = clNone
     1033      OnChange = SynEditRightChange
     1034      OnScroll = SynEditRightScroll
    10171035      inline SynLeftGutterPartList1: TSynGutterPartList
    10181036        object SynGutterMarks1: TSynGutterMarks
     
    10521070      end
    10531071    end
     1072    object SpeedButtonOpenRight: TSpeedButton
     1073      Left = 575
     1074      Height = 34
     1075      Top = 16
     1076      Width = 36
     1077      Action = AFileOpenRight
     1078      Anchors = [akTop, akRight]
     1079      Images = Core.ImageList1
     1080      ImageIndex = 2
     1081      ShowCaption = False
     1082    end
     1083  end
     1084  object OpenDialogSide: TOpenDialog
     1085    Left = 344
     1086    Top = 362
     1087  end
     1088  object MainMenu1: TMainMenu
     1089    Images = Core.ImageList1
     1090    Left = 344
     1091    Top = 496
     1092    object MenuItem1: TMenuItem
     1093      Caption = 'File'
     1094      object MenuItem2: TMenuItem
     1095        Action = AFileOpenLeft
     1096      end
     1097      object MenuItem3: TMenuItem
     1098        Action = AFileOpenRight
     1099      end
     1100      object MenuItem4: TMenuItem
     1101        Action = AReloadFiles
     1102      end
     1103      object MenuItem5: TMenuItem
     1104        Action = ASwitchSides
     1105      end
     1106      object MenuItemClose: TMenuItem
     1107        Caption = 'Close'
     1108        OnClick = MenuItemCloseClick
     1109      end
     1110    end
     1111  end
     1112  object ActionList1: TActionList
     1113    Images = Core.ImageList1
     1114    Left = 764
     1115    Top = 360
     1116    object AFileOpenLeft: TAction
     1117      Caption = 'Open left file'
     1118      ImageIndex = 5
     1119      OnExecute = AFileOpenLeftExecute
     1120    end
     1121    object AFileOpenRight: TAction
     1122      Caption = 'Open right file'
     1123      ImageIndex = 2
     1124      OnExecute = AFileOpenRightExecute
     1125    end
     1126    object AReloadFiles: TAction
     1127      Caption = 'Reload files'
     1128      OnExecute = AReloadFilesExecute
     1129    end
     1130    object ASwitchSides: TAction
     1131      Caption = 'Switch sides'
     1132      OnExecute = ASwitchSidesExecute
     1133    end
    10541134  end
    10551135end
Note: See TracChangeset for help on using the changeset viewer.