Re: HelpViewer - Was Re: GAP repo mirror on git...

Patrick CARDONA <[email protected]> Sun, 15 Mar 2026 14:38:11 +0100
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <b59c237d974ae2bbcf564202ab8391de@pi500>
Hi Riccardo,

On 2026-03-15 12:13:25 +0100 Riccardo Mottola 
<[email protected]> wrote:

> Patrick CARDONA wrote:
> 
>> Its working fine, as expected: case insensitive, every click on the 
>> Search 
>> button highlights the next found word.
>> Great job! Thanks to Riccardo and Fred.
> 
> Thanks, it has some shortcomings, not easy to fix, but generally 
> useful and 
> at least the button and text field do something meaningful.
> We copied the name and behavior from OpenStep after Lars checked it
> - no search inside legends, notes and similar - they are attachments 
> in the 
> text furthermore rendered as images, but even if not, attachments 
> would be 
> skipped
> - search only in the current loaded text in the textview. If there 
> are 
> separate sections coming from multiple files, only the current is 
> searched 
> (HelpViewer has lazy loading)
> 

And if we put all the chapters in a single file, does it mean we could 
better search on this whole file out the current View, or are we even 
limited by the current NSView content?

>> I noted something new (regression?): now the title of the Window is 
>> "My 
>> Window": we should expect it to be "HelpViewer" or something related 
>> to the 
>> .help 
> 
> yes, it is a regression, a connection broke during edit, I don't know 
> why. 
> Fixed it in gorm and now works fine: It contains path of the document.

I confirm it is fixed now.

> Multiple documents with the same name can be open from different 
> paths too.
> The naming is a little bit different than on the Mac, but it is all 
> coming 
> from GNUstep AppKit now, so we are as good or bad as any other doc 
> based 
> application
> 
> -R
> 

Following my message of March 9: 'How to implement help...' I saw in 
the meanwhile You already implemented a sample from the Help menuItem: 
so I can now study how it is done. ;-)

Cheers,
Patrick

-- 
Patrick Cardona - Pi500 - GNU/Linux aarch64 (Debian 13.4)
Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64) - Window Maker 
(0.96.0-4)
GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP - Classic - MUA: 
GNUMail (1.4.0 - rev.947)