Commit 350ea013 刘韬

添加 emphasize

1 个父辈 bf3534a9
...@@ -111,6 +111,6 @@ ...@@ -111,6 +111,6 @@
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x86\editbin" /largeaddressaware "$(TargetPath)"</PostBuildEvent> <PostBuildEvent>rem C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\editbin" /largeaddressaware "$(TargetPath)"</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
</Project> </Project>
\ No newline at end of file \ No newline at end of file
...@@ -11,5 +11,8 @@ namespace ScanCodeServer ...@@ -11,5 +11,8 @@ namespace ScanCodeServer
{ {
[MyConfigComment("element_size_min -1不启用")] [MyConfigComment("element_size_min -1不启用")]
public static MyConfig<int> HOperatorSet_element_size_min = -1; public static MyConfig<int> HOperatorSet_element_size_min = -1;
[MyConfigComment("emphasize")]
public static MyConfig<bool> HOperatorSet_enable_emphasize = true;
} }
} }
...@@ -53,6 +53,8 @@ namespace ScanCodeServer ...@@ -53,6 +53,8 @@ namespace ScanCodeServer
int timeout = remoteDecodeParam.timeout; int timeout = remoteDecodeParam.timeout;
Common.log.Info($"参数:codeTypeList:{string.Join(",",codeTypeList)}, codeCount:{codeCount}, timeout:{timeout}"); Common.log.Info($"参数:codeTypeList:{string.Join(",",codeTypeList)}, codeCount:{codeCount}, timeout:{timeout}");
Result res = new Result(); Result res = new Result();
if (Setting.HOperatorSet_enable_emphasize)
HOperatorSet.Emphasize(ho_Image, out ho_Image, 3, 3, 1);
List<string> code = new List<string>(); List<string> code = new List<string>();
Task[] t = new Task[codeTypeList.Length]; Task[] t = new Task[codeTypeList.Length];
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!