Skip to content

Commit baa8c60

Browse files
ver.1.4.0
Fixed #1 problems opening files with blanks and ANSI format with special chars Added Combobox to Editor MainForm and PreviewForm to switch immediatly from 'DaringFireball' and 'CommonMark' dialect. Compiled with Delphi 11.2
1 parent 6eaf95e commit baa8c60

35 files changed

+674
-724
lines changed

Debug/Preview Handlers/PreviewHandler Host/PreviewHost.dproj

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
33
<ProjectGuid>{b3898e3b-28c0-4d98-8436-5a69b8915599}</ProjectGuid>
4-
<ProjectVersion>19.2</ProjectVersion>
4+
<ProjectVersion>19.5</ProjectVersion>
55
<FrameworkType>VCL</FrameworkType>
66
<MainSource>PreviewHost.dpr</MainSource>
77
<Base>True</Base>
88
<Config Condition="'$(Config)'==''">Debug</Config>
9-
<Platform Condition="'$(Platform)'==''">Win32</Platform>
9+
<Platform Condition="'$(Platform)'==''">Win64</Platform>
1010
<TargetedPlatforms>3</TargetedPlatforms>
1111
<AppType>Application</AppType>
1212
</PropertyGroup>
@@ -45,6 +45,12 @@
4545
<CfgParent>Base</CfgParent>
4646
<Base>true</Base>
4747
</PropertyGroup>
48+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
49+
<Cfg_2_Win32>true</Cfg_2_Win32>
50+
<CfgParent>Cfg_2</CfgParent>
51+
<Cfg_2>true</Cfg_2>
52+
<Base>true</Base>
53+
</PropertyGroup>
4854
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win64)'!=''">
4955
<Cfg_2_Win64>true</Cfg_2_Win64>
5056
<CfgParent>Cfg_2</CfgParent>
@@ -56,7 +62,6 @@
5662
<Icon_MainIcon>$(BDS)\bin\delphi_PROJECTICON.ico</Icon_MainIcon>
5763
<DCC_UsePackage>fmx;IndySystem;DBXInterBaseDriver;DataSnapClient;DataSnapCommon;DataSnapServer;DataSnapProviderClient;DbxCommonDriver;dbxcds;DBXOracleDriver;CustomIPTransport;dsnap;fmxase;IndyCore;CloudService;inetdbxpress;IPIndyImpl;bindcompfmx;rtl;dbrtl;DbxClientDriver;bindcomp;inetdb;xmlrtl;ibxpress;IndyProtocols;DBXMySQLDriver;bindengine;soaprtl;DBXInformixDriver;DBXFirebirdDriver;inet;fmxobj;DBXSybaseASADriver;fmxdae;dbexpress;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
5864
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
59-
<DCC_ExeOutput>.\Bin</DCC_ExeOutput>
6065
<SanitizedProjectName>PreviewHost</SanitizedProjectName>
6166
<VerInfo_Locale>1040</VerInfo_Locale>
6267
<VerInfo_Keys>CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName)</VerInfo_Keys>
@@ -67,9 +72,9 @@
6772
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
6873
<VerInfo_Locale>1033</VerInfo_Locale>
6974
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
70-
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
7175
<UWP_DelphiLogo44>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png</UWP_DelphiLogo44>
7276
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
77+
<DCC_ExeOutput>.\Bin</DCC_ExeOutput>
7378
<UWP_DelphiLogo150>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png</UWP_DelphiLogo150>
7479
</PropertyGroup>
7580
<PropertyGroup Condition="'$(Base_Win64)'!=''">
@@ -83,37 +88,44 @@
8388
<VerInfo_Locale>1033</VerInfo_Locale>
8489
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
8590
<Debugger_RunParams>D:\ETHEA\SVGIconImageList\Demo\NewSydneyVectors</Debugger_RunParams>
91+
<AppDPIAwarenessMode>none</AppDPIAwarenessMode>
92+
<DCC_ExeOutput>.\Bin64</DCC_ExeOutput>
8693
</PropertyGroup>
8794
<PropertyGroup Condition="'$(Cfg_1)'!=''">
8895
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
8996
<DCC_Optimize>false</DCC_Optimize>
9097
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
9198
<DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
9299
<DCC_RemoteDebug>true</DCC_RemoteDebug>
93-
<VerInfo_Locale>1040</VerInfo_Locale>
94-
<VerInfo_Keys>CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName)</VerInfo_Keys>
95100
</PropertyGroup>
96101
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
97102
<DCC_RemoteDebug>false</DCC_RemoteDebug>
98103
<BT_BuildType>Debug</BT_BuildType>
99104
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
100105
<VerInfo_Locale>1033</VerInfo_Locale>
101-
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
102106
<DCC_UnitSearchPath>D:\ETHEA\ShellControls\Source;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
103107
</PropertyGroup>
104108
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
105-
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
106109
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
110+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
111+
<VerInfo_Locale>1033</VerInfo_Locale>
112+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
107113
</PropertyGroup>
108114
<PropertyGroup Condition="'$(Cfg_2)'!=''">
109115
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
110116
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
111117
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
112118
<DCC_DebugInformation>0</DCC_DebugInformation>
113119
</PropertyGroup>
120+
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
121+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
122+
<VerInfo_Locale>1033</VerInfo_Locale>
123+
</PropertyGroup>
114124
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
115-
<AppEnableRuntimeThemes>true</AppEnableRuntimeThemes>
116125
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
126+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
127+
<VerInfo_Locale>1033</VerInfo_Locale>
128+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
117129
</PropertyGroup>
118130
<ItemGroup>
119131
<DelphiCompile Include="$(MainSource)">
@@ -124,17 +136,17 @@
124136
<FormType>dfm</FormType>
125137
</DCCReference>
126138
<DCCReference Include="uHostPreview.pas"/>
127-
<BuildConfiguration Include="Release">
128-
<Key>Cfg_2</Key>
129-
<CfgParent>Base</CfgParent>
130-
</BuildConfiguration>
131139
<BuildConfiguration Include="Base">
132140
<Key>Base</Key>
133141
</BuildConfiguration>
134142
<BuildConfiguration Include="Debug">
135143
<Key>Cfg_1</Key>
136144
<CfgParent>Base</CfgParent>
137145
</BuildConfiguration>
146+
<BuildConfiguration Include="Release">
147+
<Key>Cfg_2</Key>
148+
<CfgParent>Base</CfgParent>
149+
</BuildConfiguration>
138150
</ItemGroup>
139151
<ProjectExtensions>
140152
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
@@ -169,14 +181,18 @@
169181
<VersionInfoKeys Name="Comments"/>
170182
</VersionInfoKeys>
171183
<Excluded_Packages>
172-
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k270.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
173-
<Excluded_Packages Name="$(BDSBIN)\dclofficexp270.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
184+
<Excluded_Packages Name="C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\dclISRtl7280.bpl">Ethea InstantSolutions 7 Rtl Library</Excluded_Packages>
185+
<Excluded_Packages Name="C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\dclISVcl7280.bpl">Ethea InstantSolutions 7 Vcl Library</Excluded_Packages>
186+
<Excluded_Packages Name="C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\dclISOpenOffice7280.bpl">Ethea InstantSolutions 7 LibreOffice/OpenOffice Components</Excluded_Packages>
187+
<Excluded_Packages Name="C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\dclISFLib7280.bpl">Ethea InstantSolutions 7 Framework Library</Excluded_Packages>
188+
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k280.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
189+
<Excluded_Packages Name="$(BDSBIN)\dclofficexp280.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
174190
</Excluded_Packages>
175191
<Source>
176192
<Source Name="MainSource">PreviewHost.dpr</Source>
177193
</Source>
178194
</Delphi.Personality>
179-
<Deployment Version="3"/>
195+
<Deployment Version="4"/>
180196
<Platforms>
181197
<Platform value="Win32">True</Platform>
182198
<Platform value="Win64">True</Platform>
Binary file not shown.

0 commit comments

Comments
 (0)