r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

DideC
12-Apr-2005
[871]
OMO View crash only if you change screen resolution. Not affected 
by color depth.

I think it can't change the sv/screen-face/size at runtime. It initialize 
it at startup.
Tomc
12-Apr-2005
[872]
also crashes if you change number of monitors without changing resolution
Gregg
13-Apr-2005
[873]
Benjamin -- There is no native way to change cursors in REBOL. Cyphre 
has done some experiments with it, and the APIs should be easy enough 
to call if you have /pro. Can't remember if I ever mapped those or 
not.
Volker
13-Apr-2005
[874]
what are good colors for a code-colorizer?
Ingo
14-Apr-2005
[875]
I've had /View Apps crashing after my WinXP restarted from hibernate 
mode. But not all of them. I don't know whether it was dependant 
on the app, or on the version of rebol ...
Sunanda
14-Apr-2005
[876]
Volker -- colours for code will be highly subjective.
See Carl's choices here:

     http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=color-code.r
And  REBOL.org's choices here (look for "script colorizer"):
     http://www.rebol.org/cgi-bin/cgiwrap/rebol/css-view-system.r
Anton
14-Apr-2005
[877x2]
Gregg, if you check out the DLL.SO group, you can see Benjamin is 
already tackling changing cursors with user32.dll !
Volker, I usually like the colours to be not very bright, ie. I set 
my strings to be very dark green, keywords to dark red or blue etc. 
so most of the text is close to black. But, as Sunanda said, that's 
subjective, my point of view.
Chris
14-Apr-2005
[879]
I use this style sheet for my colour code: http://www.ross-gill.com/styles/rebol-code.css
Volker
14-Apr-2005
[880]
Thanks for suggestions. Have to look into that. Currently i have 
anti-colors, mostly because i box the words, not just colorize them. 
looks like suqeaks etoys :) to see it, run edit-tools in my developer-folder, 
open a script, choose color-rebol.r in the plugin-list and close 
your eyes quickly :)) more a demo how to markup text.
Anton
14-Apr-2005
[881]
Whoa! what a bizarre user experience!  :)
Volker
14-Apr-2005
[882]
hehe ;)
Anton
14-Apr-2005
[883]
I click "edit-tools", then I press "open" button, it opens a dialog 
"save /d/anton/dev/rebol/link/developer/et/doc/readme.txt" [Yes] 
[No]...   eh !??!
Volker
14-Apr-2005
[884]
oops, yes. choose no.
Anton
14-Apr-2005
[885]
I press [No], then it opens a file requester, so I press "Cancel" 
and that minimizes the edit-tools app. Is this an april fools joke 
that no-one discovered in time ?
Volker
14-Apr-2005
[886x4]
thats the first-time opened file, if you use the multi-file-version. 
missing files are created. then it thinks that missing file on disk 
is diferent to that empty edited file and -hu, more problems?
should test on windows first maybe.
can you open a real file with the requester?
no idea about minimizing. crash maybe, but minimize?
Anton
14-Apr-2005
[890x2]
You had me reading code there... yeah that's weird, the minimize 
- no where in code is "minimize" found.
Here's the problem, surely:
	button "open" [save-file/? ta sr open-file refresh]
Volker
14-Apr-2005
[892x2]
can you look for
  wait: :my-wait
and delete that?
it contains a workaround on linux. maybe windows does not like it.
Anton
14-Apr-2005
[894]
refresh -> window -> hide main-window
Volker
14-Apr-2005
[895]
aah - hmm, on linux i use [hid main-window] to stop timers before 
replacing layout. on windows that minimizes?
Ammon
14-Apr-2005
[896]
yes
Volker
14-Apr-2005
[897x3]
on linux it does nothing, except stopping timers and flash a moment.
so that should be changed to [hide main-window/pane perhaps.
somewhere in the [window: func]
Anton
14-Apr-2005
[900x2]
Mmm.  HIDE doesn't work on latest Rebol/View betas, but it minimizes 
a window face on View 1.2.1.3.1
doesn't work

 = doesn't change appearance of the window (don't know about timers 
 yet)
Volker
14-Apr-2005
[902]
published a fix. can you try it again?
Anton
14-Apr-2005
[903x2]
Open still tries to save, obviously, but when I cancel now it does 
not minimize (I see a quick flash of the window though)
:) The next problem is: why is the "Open" button asking to save ?
Volker
14-Apr-2005
[905]
open tries to save the last file. it thinks it is modified, instead 
its missing. but text <> attempt[read file], so..
Anton
14-Apr-2005
[906x2]
Ok...
Gosh! the two scrollers interact with each other...
Volker
14-Apr-2005
[908x3]
its tricky to stop the timers. hide works but flashes. hide on window 
does not flash on linux, so i thought i had a good way.
yes, use the left. the right scrolls a fixed amount.
sometimes i have files with some 100kb. than the normal scroller 
scales not fine enough. then i use the right one to scroll in that 
area.
Anton
14-Apr-2005
[911]
Ah yes, a relative scroller. Middle-mouse button would be good for 
this one day...
Volker
14-Apr-2005
[912]
yes, poor mans middle mouse :)
Anton
14-Apr-2005
[913]
Maybe we can trap right+left combo ?
Volker
14-Apr-2005
[914]
hmm, worth trying
Anton
14-Apr-2005
[915x2]
I wanted to make one of those relative scroller icons as seen in 
Firefox. One day...
Well, I got it to colourize some code. Pretty ugly ! ;-) but you're 
getting there. Interesting "floating" coloured blocks.
Volker
14-Apr-2005
[917]
interesting point is, you give it a text-face, a start and end, and 
a template for markup and do:
  markup-face ta make markup-face! [color: local/2] start end
and then you have markup :)
Gregg
15-Apr-2005
[918]
Very cool Volker! You never cease to amaze me.
Volker
15-Apr-2005
[919x2]
*=blush*= :)9
:.)9 -> :)