Bug in Notepad Involving Asterisk in Title Bar
11–20 of 132 posts
Re: Bug in Notepad Involving Asterisk in Title Bar
#12This would be avoided if Notepad was implemented in React Native for Windows.
So no, best option create a new editor, but there are 1000 editors out there.
look at sublime text 4.. its pure opengl. fast, and epic done right.
Re: Bug in Notepad Involving Asterisk in Title Bar
#13Earlier quoted context omitted.
Pressing the arrow keys on their own does nothing, but pressing DEL (no title update) then an arrow key does.
Huh (confirmed), trying to imagine that code path. Edit: Played around a bit, it's odd. For example then click on a different window (release focus) does trigger the update.
if(key !== KEY_DELETE) {
testForChanges();
}Re: Bug in Notepad Involving Asterisk in Title Bar
#14Earlier quoted context omitted.
Pressing the arrow keys on their own does nothing, but pressing DEL (no title update) then an arrow key does.
Huh (confirmed), trying to imagine that code path. Edit: Played around a bit, it's odd. For example then click on a different window (release focus) does trigger the update.
Re: Bug in Notepad Involving Asterisk in Title Bar
#15This would be avoided if Notepad was implemented in React Native for Windows.
Re: Bug in Notepad Involving Asterisk in Title Bar
#16Earlier quoted context omitted.
Pressing the arrow keys on their own does nothing, but pressing DEL (no title update) then an arrow key does.
Huh (confirmed), trying to imagine that code path. Edit: Played around a bit, it's odd. For example then click on a different window (release focus) does trigger the update.
Re: Bug in Notepad Involving Asterisk in Title Bar
#17Re: Bug in Notepad Involving Asterisk in Title Bar
#18This would be avoided if Notepad was implemented in React Native for Windows.
Why? I suppose if your render() function had something like
showAstrix = this.state.editorBuffer != this.state.savedBuffer
then it wouldn't be subject to the bug, but the performance would be terrible if you're editing a large file. To get good performance you'd need to use a flag and update it accordingly, which will subject you to the same bug.Re: Bug in Notepad Involving Asterisk in Title Bar
#19I can reproduce this behavior. Though I noticed that removing a newline with does cause the asterisk to appear.
Re: Bug in Notepad Involving Asterisk in Title Bar
#20This would be avoided if Notepad was implemented in React Native for Windows.