{"id":7979,"date":"2025-02-17T12:08:39","date_gmt":"2025-02-17T20:08:39","guid":{"rendered":"https:\/\/gantovnik.com\/bio-tips\/?p=7979"},"modified":"2025-02-17T12:11:06","modified_gmt":"2025-02-17T20:11:06","slug":"457-notepad-how-to-highlight-all-occurrences-of-selected-text-even-if-they-are-not-whole-word-only","status":"publish","type":"post","link":"https:\/\/gantovnik.com\/bio-tips\/2025\/02\/457-notepad-how-to-highlight-all-occurrences-of-selected-text-even-if-they-are-not-whole-word-only\/","title":{"rendered":"#457 Notepad++ How to highlight all occurrences of selected text even if they are not whole words"},"content":{"rendered":"<p>Notepad++ Highlight all occurrences of selected text even if they are not whole words<\/p>\n<p>Settings -> Preferences -> Highlighting and uncheck the &#8220;Match whole word only&#8221; under Smart Highlighting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notepad++ Highlight all occurrences of selected text even if they are not whole words Settings -> Preferences -> Highlighting and uncheck the &#8220;Match whole word only&#8221; under Smart Highlighting.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_lmt_disableupdate":"yes","_lmt_disable":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[46],"tags":[323],"class_list":["post-7979","post","type-post","status-publish","format-standard","hentry","category-notepad","tag-notepad"],"modified_by":"gantovnik","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8bH0k-24H","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1550,"url":"https:\/\/gantovnik.com\/bio-tips\/2022\/09\/210-parametric-curve-in-3d-2-2-2-2-2-2-2-2-2-2-2-2-2-3-3-2-2-2\/","url_meta":{"origin":7979,"position":0},"title":"#299 Closing Notepad++ tabs on closing application","author":"gantovnik","date":"2022-09-05","format":false,"excerpt":"","rel":"","context":"In &quot;notepad++&quot;","block_context":{"text":"notepad++","link":"https:\/\/gantovnik.com\/bio-tips\/category\/notepad\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/09\/2022-09-05_002955.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/09\/2022-09-05_002955.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/09\/2022-09-05_002955.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2022\/09\/2022-09-05_002955.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":563,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/06\/81-the-text-widget\/","url_meta":{"origin":7979,"position":1},"title":"#81 The Text widget","author":"gantovnik","date":"2020-06-13","format":false,"excerpt":"","rel":"","context":"In &quot;python&quot;","block_context":{"text":"python","link":"https:\/\/gantovnik.com\/bio-tips\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2020\/06\/2020-06-13_003342.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":864,"url":"https:\/\/gantovnik.com\/bio-tips\/2021\/02\/155-search-string-in-the-text-using-sed\/","url_meta":{"origin":7979,"position":2},"title":"#155 Search string in the text using sed","author":"gantovnik","date":"2021-02-09","format":false,"excerpt":"#155 Search string in the text using sed The p operator will print the matched pattern. In this case, we have not specified a pattern so we will match everything. Printing the matched lines without suppressing STDOUT will duplicate lines. The result of this operation is to print all the\u2026","rel":"","context":"In &quot;bash&quot;","block_context":{"text":"bash","link":"https:\/\/gantovnik.com\/bio-tips\/category\/bash\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":765,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/129-geometric-centroid-for-selected-entities-using-tcl-in-hypermesh\/","url_meta":{"origin":7979,"position":3},"title":"#129 Geometric centroid for selected entities using tcl in HyperMesh","author":"gantovnik","date":"2020-11-02","format":false,"excerpt":"#129 Geometric centroid for selected entities using tcl in HyperMesh To get the centroid of all surfaces:","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2235,"url":"https:\/\/gantovnik.com\/bio-tips\/2024\/06\/432-hypermesh-tcl-script-to-mark-and-print-all-adjacent-element-ids\/","url_meta":{"origin":7979,"position":4},"title":"#432 Hypermesh tcl script to mark and print all adjacent element IDs","author":"gantovnik","date":"2024-06-30","format":false,"excerpt":"Output:","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2024\/06\/ex432.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":763,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/11\/128-moment-of-inertia-values-for-the-selected-entities-using-tcl-in-hypermesh\/","url_meta":{"origin":7979,"position":5},"title":"#128 Moment-of-inertia values for the selected entities using tcl in HyperMesh","author":"gantovnik","date":"2020-11-02","format":false,"excerpt":"#128 Moment-of-inertia values for the selected entities using tcl in HyperMesh To get the MOI for components 1-5:","rel":"","context":"In &quot;HyperMesh&quot;","block_context":{"text":"HyperMesh","link":"https:\/\/gantovnik.com\/bio-tips\/category\/hypermesh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/7979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/comments?post=7979"}],"version-history":[{"count":2,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/7979\/revisions"}],"predecessor-version":[{"id":7981,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/7979\/revisions\/7981"}],"wp:attachment":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/media?parent=7979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/categories?post=7979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/tags?post=7979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}