Linux Lite Forums

Development => Coding => Topic started by: bitsnpcs on March 28, 2021, 12:05:53 PM

Title: LiLi pad
Post by: bitsnpcs on March 28, 2021, 12:05:53 PM
Showing the window maximized (the default)

(https://i.ibb.co/nfnG5zp/1.png)


Showing what happens when the Open button is used, the up arrow moves up in the tree of your files for navigating them.

(https://i.ibb.co/Yct7vrc/3.png)

Title: Re: LiLi pad
Post by: bitsnpcs on March 28, 2021, 01:02:28 PM
It is now working with, Cut and Paste, and Copy and Paste.
Ctrl +C  ,to Copy
Ctrl +X  ,to Cut
Ctrl +V  ,to Paste
Title: Re: LiLi pad
Post by: Jerry on March 28, 2021, 03:23:17 PM
Watching with interest.
Title: Re: LiLi pad
Post by: bitsnpcs on March 28, 2021, 04:37:43 PM
Watching with interest.


Thank you Jerry.

Are there other features that should go in a lightweight editor ?
Title: Re: LiLi pad
Post by: Jerry on March 29, 2021, 12:00:16 AM
The fewer features the better, by this I mean just the absolute essentials.

Menu - New Open, Save, Save As...
Cut, Copy, Paste.
Line Numbers.
Ability to select font and font size.

Later on - Find and Find and Replace function.

That's all you need I'd imagine.
Title: Re: LiLi pad
Post by: bitsnpcs on March 29, 2021, 12:37:28 AM
I will look in to those.
Title: Re: LiLi pad
Post by: Jerry on March 29, 2021, 04:24:00 AM
Just take your time, have fun with it, there's no pressure to learn or add features. Proceed as you desire.
Title: Re: LiLi pad
Post by: bitsnpcs on March 29, 2021, 07:47:00 AM
I will post the code somewhere when it is finished.
Title: Re: LiLi pad
Post by: firenice03 on March 29, 2021, 08:44:56 AM
Just take your time, have fun with it, there's no pressure to learn or add features. Proceed as you desire.

Nice job @bitsnpcs  :045:   :54:


Wish I had time to designate to learning python/perl...
Been in ruby and yaml for a bit, still figuring that all out lol....
Title: Re: LiLi pad
Post by: bitsnpcs on March 29, 2021, 12:58:56 PM
Just take your time, have fun with it, there's no pressure to learn or add features. Proceed as you desire.

Nice job @bitsnpcs  :045:   :54:


Wish I had time to designate to learning python/perl...
Been in ruby and yaml for a bit, still figuring that all out lol....

Thank you @firenice03  :)
I hadn't heard of yaml, I had to look up what it meant. I have heard of Ruby but I do not know anything about it either.


Title: Re: LiLi pad
Post by: firenice03 on March 29, 2021, 01:30:47 PM
Sometimes its easier to learn when doing for fun..  :027:
Definitely versus having to meet a deadline...

Yeah, I use yaml in automation/devops apps mostly..

Title: Re: LiLi pad
Post by: bitsnpcs on March 29, 2021, 01:40:57 PM
Yes I feel the same, I like learning for fun :)
You are doing difficult things with yaml.
Title: Re: LiLi pad
Post by: bitsnpcs on March 29, 2021, 03:36:17 PM
LiLi-font, will try to integrate in to LiLi-pad somehow.


(https://i.ibb.co/Y2MLc6L/1.png)


Title: Re: LiLi pad
Post by: bitsnpcs on March 29, 2021, 04:01:09 PM
Update -
now has word wrap, and automatically scrolls the page up when you type past its page end,so your latest typing is always visible.

(https://i.ibb.co/qmgBBbq/5.png)
Title: Re: LiLi pad
Post by: bitsnpcs on March 29, 2021, 06:49:31 PM
A total of 23 lines of code at this time. (this will increase)


(https://i.ibb.co/GvmYQWb/6.png)
Title: Re: LiLi pad
Post by: Moltke on March 29, 2021, 09:49:10 PM
Quote
Are there other features that should go in a lightweight editor ?

You could make/create a poll and ask users about them. For instance, I think a good editor should allow doing most stuff from keyboard; edit, copy, paste, comment, uncomment, open, close, search/find ... the more, the better ... you could take a look at some editors like nano and vi too as a reference, that being said, it looks pretty nice already  :027: :045:
Title: Re: LiLi pad
Post by: bitsnpcs on March 30, 2021, 06:03:49 PM
Thank you @Moltke  :)
I was banned from posting last night, and again today.
Title: Re: LiLi pad
Post by: Jerry on March 30, 2021, 08:00:27 PM
'Bans' occur when the website blocks whatever code you are trying to post. It's temporary and just means you might have to screenshot your code instead of pasting it. No biggie. You can always link to your code outside this site to, eg. Gitlab or whatever you choose.
Title: Re: LiLi pad
Post by: bitsnpcs on March 30, 2021, 09:09:27 PM
'Bans' occur when the website blocks whatever code you are trying to post. It's temporary and just means you might have to screenshot your code instead of pasting it. No biggie. You can always link to your code outside this site to, eg. Gitlab or whatever you choose.

Thank you.
I will post the code outside this site when it is finished, like you said.

I realised a way to change my blog About page, so it is a more generalised blog, the link to the blog is below username to left. I have not added about this learning project yet but will add it in the future.