Bug 100672 - UI: Improve Find & Replace dialog with "Special" button to insert special/non printing characters (addition to regex)
Summary: UI: Improve Find & Replace dialog with "Special" button to insert special/non...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval, topicUI
: 76787 101517 (view as bug list)
Depends on:
Blocks: Find&Replace-Dialog
  Show dependency treegraph
 
Reported: 2016-06-29 11:06 UTC by Óvári
Modified: 2022-12-05 15:39 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Find and Replace with "Special..." button suggestion (34.49 KB, image/png)
2016-06-29 11:06 UTC, Óvári
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Óvári 2016-06-29 11:06:25 UTC
Created attachment 125975 [details]
Find and Replace with "Special..." button suggestion

V Stuart Foote kindly wrote at https://bugs.documentfoundation.org/show_bug.cgi?id=98539#c13 a _trivial_ way to insert an “Enter”, i.e. “\n”. Hopefully this implementation of this suggestion will make it even _more_ _trivial_ and would benefit a greater range of users (enterprise, government or otherwise).

This suggestion extends on the improvements of the “Find & Replace” dialog box from the resolved bug 98539 enhancement.

Would you please add a “_S_pecial…” drop down (or if not enough screen space it will go up) to the “Find & Replace” dialog box.

The “_S_pecial…” button could be located between the “For_m_at…” and “_N_o format” buttons.

When a Special character is selected, the Unicode equivalent could be inserted in the “_F_ind” or “Re_p_lace” field (depending on when field has the focus). When Find _A_ll, Find Pre_v_ious, _F_ind Next, _R_eplace, Replace A_l_l buttons are selected the Unicode would be converted to the character in the document. Another option is to use the “\n” (for “Enter”) etc that V Stuart Foote kindly wrote about.

An image is attached for your convenience.

A small note: Is there a preference between having an ampersand “&” or writing out “and”? For example:
Find & Replace
Find and Replace

Thank you

Version: 5.2.0.1 (x64)
Build ID: fcbcb4963bda8633ba72bd2108ca1e802aad557d
CPU Threads: 2; OS Version: Windows 6.29; UI Render: default
Comment 1 Cor Nouws 2016-06-29 11:32:34 UTC
thanks Óvári!
 > New
Comment 2 V Stuart Foote 2016-06-29 13:25:32 UTC
Yes adding a drop list for common "specials" would be helpful. While the ICU regex lib handles finding, the replacements are not as simple.

But, rather than placing it inside the "Other options" accordion, it would useful enough to place it between the Help and Close buttons of the collapsed dialog.

The specific list might be adjusted, but I don't think we'd need the full blown special characters dialog there, but a list box of common specials (with localization) to insert into the Find or Replace field would a nice enhancement.
Comment 3 Heiko Tietze 2016-10-12 13:53:46 UTC
*** Bug 101517 has been marked as a duplicate of this bug. ***
Comment 4 Heiko Tietze 2016-10-12 13:55:37 UTC
*** Bug 76787 has been marked as a duplicate of this bug. ***
Comment 5 Heiko Tietze 2016-10-12 13:56:25 UTC
(In reply to nic4456 from bug 76787, comment #1)
> Hello,
> 
> I am glad version 4 has arrows as well as the symbols for male and female.
> However, one crucial disadvantage compared to office 2003 is a
> user-definable shortcut key. For example, on my old xp laptop with said word
> version, I defined alt +uu/dd as a shortcut for an up/down arrow. Thus I
> could easily note that x/y was increasing/decreasing.
> 
> Best wishes and keep up the good work
> Nick

Just copy/paste to not loose any information.
Comment 6 Yousuf Philips (jay) (retired) 2016-10-12 15:56:45 UTC
Definitely would be useful for advanced users. @Heiko: QMMP. :D
Comment 7 Elise Smith 2022-10-31 04:19:23 UTC Comment hidden (spam)
Comment 8 Elise Smith 2022-10-31 04:20:10 UTC Comment hidden (spam)