Sherzod Posted September 1, 2021 Share Posted September 1, 2021 2 hours ago, andyhill said: case insensitive On 5/30/2021 at 5:37 PM, Sherzod said: {caseSensitive: true} Quote Link to comment Share on other sites More sharing options...
andyhill Posted September 1, 2021 Share Posted September 1, 2021 Thanks for the tip HOWEVER my adaptation from HtmlMemo ---> HtmlFrame does not work, please advise - thanks. $(O59.getDoc()).unmark({done: function() {$(O59.getDoc()).mark("and", {caseSensitive: true});}}); getDoc Not A Function Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 1, 2021 Share Posted September 1, 2021 Hello, Do you have a simple testcase to check? Quote Link to comment Share on other sites More sharing options...
andyhill Posted September 3, 2021 Share Posted September 3, 2021 I have asked many times to either increase my UpLoad Quota -or- Remove ALL previous uploads. I cannot upload the TestCase (36k) ? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 3, 2021 Administrators Share Posted September 3, 2021 2 hours ago, andyhill said: I have asked many times to either increase my UpLoad Quota -or- Remove ALL previous uploads. I cannot upload the TestCase (36k) ? We have increased quota's several times. I'm not sure if there is an option in forum software to selectively remove user posts. Let me check! Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 3, 2021 Administrators Share Posted September 3, 2021 I removed several of your big attachments. Now you can post! Quote Link to comment Share on other sites More sharing options...
andyhill Posted September 3, 2021 Share Posted September 3, 2021 Thanks Mark TestCase attached Project1.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 3, 2021 Share Posted September 3, 2021 2 hours ago, andyhill said: Project1.zip 34.81 kB · 0 downloads procedure TMainForm.UniButton1Click(Sender: TObject); begin UniHTMLFrame1.JSInterface.JSCode('$("#'+ UniHTMLFrame1.JSId +'-innerCt").unmark'+ ' ({ '+ ' done: function() {'+ ' $("#'+ UniHTMLFrame1.JSId +'-innerCt").mark("printer", {caseSensitive: true});'+ ' }'+ ' });'); end; Quote Link to comment Share on other sites More sharing options...
andyhill Posted September 3, 2021 Share Posted September 3, 2021 Perfect - Thank You Sherzod Quote Link to comment Share on other sites More sharing options...
andyhill Posted September 3, 2021 Share Posted September 3, 2021 If it is not to much to ask, what about multiple phrases ? "printer" works "printer", "printing and typesetting" first word ignored ["printer", "printing and typesetting"] crashes Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 4, 2021 Share Posted September 4, 2021 2 hours ago, andyhill said: If it is not to much to ask, what about multiple phrases ? procedure TMainForm.UniButton1Click(Sender: TObject); begin UniHTMLFrame1.JSInterface.JSCode('$("#'+ UniHTMLFrame1.JSId +'-innerCt").unmark'+ ' ({ '+ ' done: function() {'+ ' $("#'+ UniHTMLFrame1.JSId +'-innerCt").mark("printer", {caseSensitive: true});'+ ' $("#'+ UniHTMLFrame1.JSId +'-innerCt").mark("printing and typesetting", {caseSensitive: true, separateWordSearch: false});'+ ' }'+ ' });'); end; Also pay attention to this option: separateWordSearch Quote Link to comment Share on other sites More sharing options...
andyhill Posted September 4, 2021 Share Posted September 4, 2021 Thank you again 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.