Camelia, the Perl 6 bug

IRC log for #padre, 2013-10-30

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:12 asarch joined #padre
04:17 asarch joined #padre
04:20 sewi joined #padre
04:38 asarch joined #padre
05:50 stkowski joined #padre
07:03 sugar joined #padre
08:03 dod joined #padre
08:30 dod joined #padre
11:58 bowtie_ joined #padre
12:32 itcharlie joined #padre
14:10 dod joined #padre
15:08 adam joined #padre
15:08 adam Is there any way to get embedded javascript highlighting working with HTML in padre?
15:10 asarch joined #padre
15:10 itcharlie maybe bowtie__  knows?
15:10 itcharlie bowtie_
15:46 itcharlie adam:  one way around this is by clicking on View -> View Document As... -> Javascript
15:47 adam itcharlie: Yeah; I know. I do do that occasionally; it'd be nice to just have it built in though :)
15:47 adam I took a brief look through Padre's source, and it looks like it's supposed to be there.
15:49 itcharlie what file in particular ?
15:49 itcharlie ( in Padre source I mean )
15:50 adam Oh, Wx::Scintilla; just checked the HTML listing; and it looks like it's trying to include JS
15:50 adam http://cpansearch.perl.org/src/PLAVEN​/Padre-0.96/lib/Padre/Wx/Scintilla.pm
15:50 adam Granted, that's 0.96, not 0.98..
15:50 adam Still there in 0.98 though
15:50 itcharlie oh
15:50 itcharlie ok
15:51 asarch joined #padre
15:59 kaare joined #padre
16:09 notEvilEnough joined #padre
16:13 asarch joined #padre
16:14 dod joined #padre
16:44 Lorn joined #padre
17:07 bowtie_ itcharlie: hi
17:11 bowtie_ adam: hi
17:11 adam hi
17:11 bowtie_ info: were you looking for http://padre.perlide.org/trac/wiki/Plugins
17:12 bowtie_ adam: there is an old api v1 plugin, take a look at the code, if this is what you are looking for, we can bump it to api2.2 no trouble
17:13 bowtie_ but please not all dev work and testing would be against trunk ( Padre 0.99)
17:13 adam bowtie_: Sure; I'll take a look; I'm just a lil confused, 'cause it really looks like this is supposed to be part of the core Wx::Scintilla, but something's not working
17:13 adam but I'll tkae a look anyway
17:13 bowtie_ s/not/note/
17:14 adam yeah; that's cool
17:15 bowtie_ adam: if you want to paste a code sample here, I will take a look at it in trunk, did you also check the theme to make sure there is a JS section
17:16 adam bowtie_: Sorry, I don't understand. Theme?
17:16 bowtie_ adam: hold on
17:17 adam bowtie_: Do different themes preclude different types of syntax highlighting?
17:18 adam oh my god
17:18 adam they do
17:18 adam Wow, wth
17:19 adam solarized-dark/solarized-light are the only oob themes that seem to work
17:19 adam wow
17:19 adam thank you
17:19 adam I was really scratching my head over this one
17:19 adam lol
17:20 bowtie_ adam: go find -> Padre/themes/default.txt
17:21 bowtie_ make a copy of it in .local/share/.padre/themes/adamjs.txt
17:21 bowtie_ then you can select it in Tools -> prefs
17:21 adam bowtie_: Alrighty; cool. That's awesome. Thanks a lot for your help.
17:22 bowtie_ and hack the file to suit for personal colours
17:37 adam bowtie_: Hmm. Is there anything else I need to do, other than copy it there, and rename the name en-gb?
17:39 bowtie_ adam: reboot padre, then select in tools -> prefs
17:40 bowtie_ adam: you might want to take a look at -> http://padre.perlide.org/trac/​browser/trunk/Padre/eg/theme/
17:40 adam bowtie_: Tried that; no dice. I'm probably missing something.
17:40 bowtie_ adam: you could create a js one for us
17:40 bowtie_ adam: what version of Padre
17:40 adam 0.98
17:41 adam bowtie_: Well, you guys already have a theme which does embedded JS; both solarized themes.
17:42 bowtie_ adam: in that case use that as your starting point
17:42 adam bowtie: Yeah; that's what i'm intending to do
17:42 adam bowtie: Huh. doesn't seem to be reading any .txts in my ~/.local/share/.padre/themes...
17:42 adam I guess I should double check where my share directory is
17:43 bowtie_ you should see adamjs in tools -> prefs -> editor style
17:43 bowtie_ adam: tools -> help -> info
17:44 adam bowtie; yeah, it's not there. it seems the theme.pm is only loading /usr/local/share/perl/5.14.2/​auto/share/dist/Padre/themes, and not my local directory
17:44 adam odd
17:44 adam I see it in the loop; USER_DIRECTORY...
17:44 bowtie_ adam: sorry: help -> about -> info
17:45 adam Yup; it's /home/adam/.local/share/.padre
17:45 adam This is very odd. I'm going to try and debug this...
17:46 adam >.>
17:46 adam Never mind.
17:46 bowtie_ adam: I can not remember if you need a reboot for padre to find the new theme, if when editing you naff it up you will soon know :) just delete it and start again
17:47 adam lol, alright. Thanks again for your help.
17:47 bowtie_ adam: so solarized themes both work or with JS, correct
17:47 adam yes
17:47 bowtie_ cool
17:48 adam might make sense to write in some sort of simple templating system for these theme files; would you guys accept that as a possible patch to the trunk if it was backwards compatible?
17:49 bowtie_ adam: you should find the eg/style_... files helpful, you might need to create one your self
17:50 adam bowtie_: Cool; I'll check it out, thanks.
17:50 bowtie_ adam: I believe that a config dialog was something adamk was going to look at in the future for this
17:51 adam ah
17:51 itcharlie hi
17:51 bowtie_ adam: ps if you are going to look at dialogs, be aware that they are generated, take a look at the cookbook in track for more info ok
17:52 adam alright, sure
17:52 bowtie_ itcharlie: hi to you to
17:54 bowtie_ itcharlie: did you read your message via botbot
18:00 itcharlie Yes thanks bowtie
18:00 itcharlie The bot is helpful :D
18:02 bowtie_ itcharlie: it is cool, it means we do not need to go down the e-mail route or relay on backlog, just let the bot do it, Gabor cribbed it from some where, it's cool
18:03 bowtie_ itcharlie: but we do need nicknames for it to work
18:04 itcharlie k
18:05 itcharlie say so basically Padre is in a stable support only situation? or will there be more feature dev work?
18:06 itcharlie Would like to see something like a Minimap in Padre
18:08 bowtie_ itcharlie: I think we are still following adamk plan, where we are in a stable phase, trying to make padre predictable, all new features are supposed to start off life as a plugin, that what I did with the debugger
18:08 bowtie_ itcharlie: what do you mean by minimap
18:09 bowtie_ itcharlie: like http://mapofcpan.org/#/
18:10 itcharlie http://ergoemacs.org/emacs/proper_w​ay_to_use_Sublime_Text_minimap.html
18:11 itcharlie a side panel that has all your code accessible by clicking on any line
18:11 itcharlie Komodo Edit also has this functionality.
18:12 itcharlie that map is also cool
18:14 bowtie_ itcharlie: do you know what it is using to do this, which api?
18:15 itcharlie not sure
18:20 bowtie_ itcharlie: doing a plugin dialog is ok, but need to find the underlying api, ok
18:20 itcharlie ok
18:27 bowtie_ itcharlie: if you want to do a Padre::Plugin::Minimap I can get you started, but first find an api to hock in to first
18:28 itcharlie I will try to find api. Will let you know if anything.
18:30 bowtie_ itcharlie: we can talk more at weekend, if that is ok by you
18:30 itcharlie cool
18:30 bowtie_ :)
18:45 dod joined #padre
19:57 stkowski joined #padre
20:16 ServerSage joined #padre
21:11 itcharlie left #padre
21:36 Lorn joined #padre
23:14 bowtie_ any thoughts anybody: http://prepan.org/module/nXWJ8Y9sBvw
23:28 peanuter joined #padre

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary