private void OnClickText(HyperText arg0, HyperText.LinkInfo arg1) { if (this.onClickKeyward != null) { onClickKeyward.Invoke(DocUtil.UnWarpText(arg1.Name)); } }
private void SetTextItemClickEvent(HyperText text, List <Keyward> keywards) { if (keywards == null) { return; } foreach (var keyward in keywards) { SetClickAbleText(text, DocUtil.WarpText(keyward.regex), keyward.style); } }