From: Aaron Madlon-K. <aa...@ma...> - 2014-07-09 03:03:44
|
Hi all. Over a year later, I would like to dredge this up. In the meantime, a better solution than mine has been implemented for showing how many times a search result is duplicated. So my item #2 is now moot. I would like to commit #1: For all search results, show the file name in which the result occurs above the result (only when the project has multiple files). Example: some/file/in/the/project/file1.txt -- 53> Source text 1 -- Target text 1 --------- some/file/in/the/project/file2.txt -- 817> Source text 2 -- Target text 2 --------- some/file/in/the/project/file3.txt -- 2221> Source text 3 -- Target text 3 When I suggested this earlier, there was a (very reasonable) concern that too much vertical space would be taken up by this. Styling cannot help here, as the UI component can only use one font size at a time (as far as I know). My best solution is to add a checkbox (off by default) to turn this on and off in the "Advanced Options" section. When off, the file name would not be shown (same as current behavior). Would people find that acceptable? Are there any better ideas? Thanks, Aaron 2013-04-03 12:23 GMT+09:00 Aaron Madlon-Kay <aa...@ma...>: > Hello all. I would like to propose the following tweaks to the search window: > > > 1. When the project consists of multiple files, show the filename > above each hit in the > results pane. > > This makes it possible to see which file a hit belongs to without > jumping to the segment and losing your place. It also lets you get an > idea how many different files contain the search string. > > > 2. When "Display all results" is not checked, show a "+" after the > segment number for non-unique segments in the results pane, e.g. > > --------- > -- 16090+> See also > -- 関連項目 > --------- > > This makes it easier to gauge the impact of changing a segment without > having to jump to it. > > > I have a patch ready. Comments and concerns are welcome. > > Thanks, > Aaron |