Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Wrong search string highlight on files > 64k

Recommended Posts

dandv    0

This is a rather weird buffering issue:

 

1. View the ah_news.txt file from NDN. It should be over 72k long.

2. Search for 'SCREEN/'.

3. Search again (Ctrl+L). The first two lines from the viewer should

be

[-] Combine: error detection when starting on file > .d01 (Garl) [N]
SCREEN/VIDEOMODES

4. Notice that in addition to highlighting "SCREEN/", NDN also

highlights 7 blank spaces at the end of the previous line, after '[N]'!

 

I tried to narrow down the conditions to reproduce this bug and I found

that it doesn't happen if the file is less than 65537 bytes long. CR/LF

separation type or screen resolution have no influence.

 

 

OK, this bug might not be that simple to fix, so how about

fixing some minor annoyances:

 

1. 4-year digit on ^Q,D in the SmartPad!

2. Complete file timestamps on Alt+E (not just last modification time)

in NDNW32; and 1-char-longer edit fields for the time and date

 

3. Ctrl+Break to return to NDN after launching Windows applications

4. Clean UserScreen after executing console applications (it's still

messed up in 80x43 in NDN 2.14.8486 under Win2K, try 2 'dir's in an

empty directory right after starting NDN)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×