overleaf-textarea icon indicating copy to clipboard operation
overleaf-textarea copied to clipboard

Paired Highlights?

Open dsdoermann opened this issue 4 years ago • 3 comments

The sync-scroll is great and it makes things so much easier. But often it is still difficult to find the corresponding latex text. Would there be any way to highlight the latex source when you highlight the textarea text? Or vice-versa? It would make it easier to check correctness.

dsdoermann avatar Jul 20 '21 00:07 dsdoermann

Would highlighting the whole line be helpful (that is an entire paragraph in overleaf)? Or is it more like a work highlighting that would be useful? I think the last one is harder to realise.

robindijkhof avatar Jul 26 '21 20:07 robindijkhof

A line would be very helpful.


David Doermann Professor, SUNY Empire Innovation Professor, Department of Computer Science and Engineering University at Buffalo

email: @.*** website: cse.buffalo.edu/~doermannhttp://cse.buffalo.edu/~doermann phone: 716-645-1557 (office), 410-493-9043 (mobile)

[footer_logo_03]

From: robindijkhof @.> Sent: Monday, July 26, 2021 4:41 PM To: robindijkhof/overleaf-textarea @.> Cc: David Doermann @.>; Author @.> Subject: Re: [robindijkhof/overleaf-textarea] Paired Highlights? (#54)

Would highlighting the whole line be helpful (that is an entire paragraph in overleaf)? Or is it more like a work highlighting that would be useful? I think the last one is harder to realise.

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frobindijkhof%2Foverleaf-textarea%2Fissues%2F54%23issuecomment-887011617&data=04%7C01%7Cdoermann%40buffalo.edu%7C171152eae9ca4571adfd08d95075a47c%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C637629288464964932%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a8KR7HLNZu6RLlqQLfQkVJLsgg4ZnWDY4mgZrsF0CpE%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKONP73FAFMFAAUVMZWEXODTZXB4ZANCNFSM5AUWQZGQ&data=04%7C01%7Cdoermann%40buffalo.edu%7C171152eae9ca4571adfd08d95075a47c%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C637629288464974927%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=22zCkNVjiHn8ZPE40su41m6Y4DtZntzX2S6pfZaMvvM%3D&reserved=0.

dsdoermann avatar Jul 26 '21 21:07 dsdoermann

https://css-tricks.com/creating-an-editable-textarea-that-supports-syntax-highlighted-code/ and https://codersblock.com/blog/highlight-text-inside-a-textarea/ might be helpful

robindijkhof avatar Aug 22 '21 20:08 robindijkhof