Word? Notepad? NO | Journal #7

Junior Developer Journal
4 min readOct 26, 2023

--

I am here to show you the best text editor.

Coding

Now we all need to type notes down sometimes. But what program should we use to type them?

  • Notepad? No, it doesn't look good and is beyond basic. However it is functionable we have to admit.
  • Notepad ++? Well we could but we still want a nicer experience.
  • Word? We could but like on the last one we want a nicer experience

Well you might be confused or think ill pick Word or Notepad ++. However, the real answer is none of them. I guess Word has all the features you need like colouring text and everything like that but lets be honest why use word when you can make your own Notepad/text editor?

Introducing to you. Editor PRO Edition. Now you might think something like this:

What is Editor PRO Edition? Do I live under a rock? What is happening? I thought I was caught up. OH NO!!

Well I doubt that is what you were thinking but let me explain. There is no point finding a text editor and most importantly paying money for it. Why do that when you can make your own text editor?

How do we script Editor PRO? We need a foundation. Now instead of thinking: What do Text editors have in common. Lets think: How can I make a nice looking text editor?

How can we make a nice looking text editor?

Now Normally if you type somewhere you will have a thin pipe like this: “|” popping up then stops showing then pops up again then so on and so forth. Lets look at its properties.

  1. The colour is black
  2. Its thinner then a normal pipe (the | symbol) and also shorter
  3. It turns opaque for a second then goes transparent and then loops.

What can we change about the property?

Change property 3?
Well why it functions perfectly and has a cool looking aspect and really brings it to life.

Change property 2?
We could but again, why? Its really the perfect size and is just bigger then long letters like uppercase I and uppercase L. Which is perfecto!

Change property 1?
Genius idea (Or as I call it Geniotic idea)! Its the perfect property to change. Now if we have the colour theme be white then we would need a colour to perfectly fit that. What is a good colour though? Red? Nope doesn’t fit white. Green? Unnatural for a text editor. Blue? Now we are just spitting colours out randomly. Yellow? Ooh that's a good idea. It will fit the theme PERFECTLY.

Writing

How Can We make it stand out?

Now we need a way for our Editor to stand out. What could it be?
Oh! Perfect a Signup and Login page. How would we code it though?
Now we would need to have a way of logging the usernames and passcodes. FIREBASE! I have a 2 letter response to that and those two letters are N and O.

Now you might be confused to why I'm saying No to firebase. Its a perfectly good admin manager. I could even make a sign in with google tab. Now this is a really good idea but why? Why use Firebase when we can simply store it with a .txt file? So we will make a logins.txt for the username and password and also make another file for the users text in the editor.

Lastly, we all know that people are greedy for usernames so why bother with display names and “@” tags when we can just hash the password. Now currently as it is in Version 1.0.1 BETA You can make the same username as someone and have different passwords. Now the good thing about hashing is that people can have same usernames , different passwords and different saves. Plus, before in Version 1.0.0 DEV (Meaning only dev’s could test it) you could login with the same user as someone and different password and you will see there text so this is where hashing and adding the hash in the .txt file comes in.

Now we are done with standing out. Lets just put our ideas together and get to coding!

Don't use word use Editor PRO :)

And now that we put it together we get a perfectly good text editor and signup/sign-in page. To view my code and use it go to the Links section and go to the GitHub repo. Remember This is ONLY Version 1.0.1 and is still in Beta. There will be bugs and glitches too.

Also:
Thank you so much for reading this blog I hope you enjoyed it! If you want more of this type of content go to the Links section and subscribe to the JdJ newspaper :) Also sorry for not uploading for a while, each blog takes serious time, effort and dedication.

LINKS

Subscribe to JdJ Newspaper: NEWSPAPER BUTTON!
GitHub Repo: GitHub Repo | Journal #7

--

--

Junior Developer Journal
Junior Developer Journal

Written by Junior Developer Journal

Hello! I am a developer! I program with Python and yeah! Thats it! Hope you enjoy my DevLogs.

No responses yet