Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Searching File Via Ctrl+F Is Very Slow

Aperta
#474 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp

Direzione di ricerca

Riproduci il problema in XmlNotepad caricando un file di circa 5 MB, aprendo la scheda XSL Output e cercando «Example» con Ctrl+F. Il problema non indica alcun file sorgente né alcun test, quindi segui il percorso di ricerca a partire da questa interazione; l'attività è completata quando la digitazione di una query non rende più l'applicazione non responsiva durante la ricerca di ciascun prefisso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I'm not sure what the proper course of action for something like this is (or if it's really even an issue for most), but the issue is as follows:

I have a ~5mb file that when searched via Ctrl+F becomes unresponsive for the first few characters because it's trying to immediately give me results for each character as I type it. I don't need to know where all of the 'A's are in the file, but it's delaying my search because it's going to try to find them all anyway.

Example:
Open XmlNotepad > Load File > Move to XSL Output Tab
Press Ctrl+F > Begin Typing "Example"
Program hangs on the first 'E' until it's searched the entire document for 'E', then I need to type to the next letter.
It does get quicker with each letter since it has the added context of only looking for strings that begin with an 'E', but it does inhibit workflows when having to wait.

I'm sorry if this isn't the proper place to put something like this, but thank you all the same.

Lingua principale
C#
Stelle
1.2k
Fork
240
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/XmlNotepad

Tutte le issue di microsoft/XmlNotepad

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.