19/06/2015 - Enhanced quick reply.

by Melancholy

Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-19-2015, 01:41 AM (This post was last modified: 06-19-2015, 02:31 AM by Melancholy. Edit Reason: fuck cloudflare)
#8389 (1)
I saw something similar on another forum, so I decided to do it (in my opinion) better.

The quick reply now has:
Autocompletion
As you type, compatible tags will appear in a small list that you can navigate with your arrow keys (press tab to put the selection into the editor).

Syntax Highlighting
As you type your bbcode, the tags are highlighted in a different colour.

Multiple Cursors
Need to quickly edit multiple headings at once? Now you can. By holding the ctrl (or cmd on osx) and clicking in the editor, you can create multiple cursors.

Here's an old video I made when I was still working on it.

It's bound to be a little buggy, and is missing a lot of the available bbcodes, but if you notice anything wrong, please let me know.

EDIT: Just moved the files required for the quick reply to our server, as opposed to the shitty cloudflare servers that make it take a long ass time to load and don't load at all on occasion.

tn5421
Sharing: For a better tomorrow
Torrents
Posts: 1,370
Threads: 36
Joined: May 2015
Reputation: 10
06-19-2015, 03:00 AM (This post was last modified: 06-19-2015, 03:06 AM by tn5421.)
#8398 (2)
heya, we all know about cloudflare simply not loading, i believe

But seriously, make a method for selecting 'no tag' on the tag autocompleter please.

my sc2 replays&info | my osu stuff | my steam | my HB
Do you like to read or write fanfiction?  Then please check out my usergroup.
Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-19-2015, 03:14 AM
#8402 (3)
(06-19-2015, 03:00 AM)tn5421 Wrote: heya, we all know about cloudflare simply not loading, i believe

But seriously, make a method for selecting 'no tag' on the tag autocompleter please.

But there's no need to. You simply ignore the autocompleter if you don't want to select a tag. :smile:

tn5421
Sharing: For a better tomorrow
Torrents
Posts: 1,370
Threads: 36
Joined: May 2015
Reputation: 10
06-19-2015, 03:15 AM
#8403 (4)
The method to ignore the autocompleter does not make any logical sense; you have to click the reply box and continue typing. It doesn't make a whole lot of sense 0.o

my sc2 replays&info | my osu stuff | my steam | my HB
Do you like to read or write fanfiction?  Then please check out my usergroup.
Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-19-2015, 03:18 AM
#8407 (5)
(06-19-2015, 03:15 AM)tn5421 Wrote: The method to ignore the autocompleter does not make any logical sense; you have to click the reply box and continue typing. It doesn't make a whole lot of sense 0.o

what are you talking about?

tn5421
Sharing: For a better tomorrow
Torrents
Posts: 1,370
Threads: 36
Joined: May 2015
Reputation: 10
06-19-2015, 03:19 AM
#8408 (6)
If you want it to ignore something that it thinks is code but isn't code, you have to click somewhere on the page to make the dialogue box go away.

my sc2 replays&info | my osu stuff | my steam | my HB
Do you like to read or write fanfiction?  Then please check out my usergroup.
Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-19-2015, 03:20 AM
#8409 (7)
(06-19-2015, 03:19 AM)tn5421 Wrote: If you want it to ignore something that it thinks is code but isn't code, you have to click somewhere on the page to make the dialogue box go away.

You can just press space and the dialog box will go away.

tn5421
Sharing: For a better tomorrow
Torrents
Posts: 1,370
Threads: 36
Joined: May 2015
Reputation: 10
06-19-2015, 03:21 AM
#8410 (8)
Says the person that ninja-fixed it to do that when it wasn't doing that before.

my sc2 replays&info | my osu stuff | my steam | my HB
Do you like to read or write fanfiction?  Then please check out my usergroup.
Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-19-2015, 03:54 AM
#8411 (9)
(06-19-2015, 03:21 AM)tn5421 Wrote: Says the person that ninja-fixed it to do that when it wasn't doing that before.

I did no such thing. :scream:

tn5421
Sharing: For a better tomorrow
Torrents
Posts: 1,370
Threads: 36
Joined: May 2015
Reputation: 10
06-19-2015, 03:54 AM
#8412 (10)
Das not tru <3 sillyface is being silly again~

my sc2 replays&info | my osu stuff | my steam | my HB
Do you like to read or write fanfiction?  Then please check out my usergroup.
Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-19-2015, 04:05 AM
#8415 (11)
(06-19-2015, 03:54 AM)tn5421 Wrote: Das not tru <3 sillyface is being silly again~

pls. you're making me cry ;-;

Unknown_Baka
Not actually a Baka o.O
Kohai
Posts: 35
Threads: 4
Joined: Jun 2015
Reputation: 1
06-19-2015, 04:37 AM
#8416 (12)
Thank God I saw this message, I thought my pc stuffed up for a bit. ^_^

          [Image: 687474703a2f2f6d656469612e74756d626c722e...362e676966]
      OCHINCHIN EVERYWHERE
Lokorfi
Waifu
Posts: 2,666
Threads: 30
Joined: Feb 2015
Reputation: 32
06-19-2015, 07:40 AM
#8427 (13)
anyone who likes coding can get turned on by this

i actually find it useful too, ty senpai <3

None_At_All
Avid Keyboard Pummeler
Language
Posts: 477
Threads: 15
Joined: Feb 2015
Reputation: 9
06-19-2015, 12:06 PM
#8451 (14)
Ah, this is great, thanks senpai :D
Equinox
Former Lewd.SX Owner
#F8365B
Posts: 483
Threads: 48
Joined: Jul 2014
Reputation: 8
06-19-2015, 02:01 PM (This post was last modified: 06-19-2015, 02:02 PM by Equinox. Edit Reason: fuck me)
#8457 (15)
test

You should make it so that variables autocomplete or show recommendations as well, prime example being when it shows the size tag, it doesn't autocomplete or even show some recommendations for the size variable.

How about line numbers, we all love those, right?

Also, it'd be pretty cool to have some sort of auto correct feature or be able to have a toggle between "editor mode" and "pure quick reply".

(and possibly add some padding to .ace_content, 5px maybe?)

I don't know, just throwing ideas. I'm gay for this feature, though. I think it's pretty fokin' neato.

EDIT:

Pretty buggy after you post, you should make it clear, and once you post, clicking on the editor fucks scrolling anally. Also, the face when no enhanced editor on the edit functionality as well.


"The entire internet is located here, on a single CD-ROM!"
Part of the glorious Linux master race.

[Image: 687474703a2f2f7075752e73682f69534f65312f...362e706e67]
[Image: 68747470733a2f2f692e696d6775722e636f6d2f...412e6a7067]
Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-19-2015, 06:37 PM
#8462 (16)
(06-19-2015, 02:01 PM)Equinox Wrote: test

You should make it so that variables autocomplete or show recommendations as well, prime example being when it shows the size tag, it doesn't autocomplete or even show some recommendations for the size variable.
I'll look into it, but it's not a massive priority.

Quote:How about line numbers, we all love those, right?
I actually disabled them, because I figured it'd just confuse people that don't code. (but I might have a settings page for the editor, so that people can enable/disable cool features like that).

Quote:Also, it'd be pretty cool to have some sort of auto correct feature or be able to have a toggle between "editor mode" and "pure quick reply".
I'll consider it (the toggle between raw and editor), it wouldn't be too hard either, as the old editor is still there, but hidden - duplicating the content in the "enchanced editor", so that it submits.

Quote:(and possibly add some padding to .ace_content, 5px maybe?)
I think there's an Ace setting for this, I'll look into it.

Quote:I don't know, just throwing ideas. I'm gay for this feature, though. I think it's pretty fokin' neato.
They're good ideas, especially since there's still a lot of work to be done on it.

Quote:EDIT:

Pretty buggy after you post, you should make it clear,
Yeah, I should've checked that. It's a relatively easy fix though.

Quote:and once you post, clicking on the editor fucks scrolling anally.
I'll look into it. :smile:

Quote:Also, the face when no enhanced editor on the edit functionality as well.
I might leave it out of that for now, seeing as the quick reply is far from complete.

Lokorfi
Waifu
Posts: 2,666
Threads: 30
Joined: Feb 2015
Reputation: 32
06-20-2015, 12:26 AM
#8477 (17)
When we use @ to tag someone, maybe there should be suggestions for that too. :)

Melancholy
すけべ
Admin
Posts: 3,868
Threads: 213
Joined: Jul 2014
Reputation: 60
06-20-2015, 12:27 AM
#8478 (18)
(06-20-2015, 12:26 AM)Lokorfi Wrote: When we use @ to tag someone, maybe there should be suggestions for that too. :)

I'll look into it.