-
`Posn` struct is `i32` but should really be `u32` if it's position
Also, the sdl2 `Point` struct basically does everything we want `Posn` to do, with some extra functionality we don't have to imple…
-
Run Demo_Issue126, and notice use of Attach, Posn, Size, VScroll and HScroll. Setting HScroll or VScroll to -1 decides whether the scroll bar is horizontal or vertical (if both are set, VScroll takes …
-
https://github.com/braverock/blotter/blob/bc75cf57b1a3d17561f026685f2c2c7c33d011f5/R/chart.Posn.R#L67
This line causes an initial artificial drawdown the size of the maximum cumulative PL to happen…
-
As I ran automated tests repeatedly, I often noticed a problem which seemed mainly related to TestButtons (understandably, because that test clicks a lot of buttonsd consequently there's some event ha…
-
```
> (struct posn (x y) #:prefab)
> (define posn->string-lens (prefab-struct-isomorphism-lens posn))
> (lens-view posn->string-lens (posn 1 2))
"#s(posn 1 2)"
> (lens-set posn->string-lens (posn 1 2)…
-
_Issue [JP-3481](https://jira.stsci.edu/browse/JP-3481) was created on JIRA by [Sarah Kendrew](https://jira.stsci.edu/secure/ViewProfile.jspa?name=skendrew):_
The change implemented with JP-3244 im…
-
In common cases `(posn-at-point)` returns structure like:
`(# 90 (0 . 100) 0 nil 90 (0 . 5) nil (0 . 0) (10 . 20))`
In rare cases `(posn-at-point)` returns:
`(# nil (0 . 0) 0)`
E.g. after `^L` ch…
-
```
data Posn:
| posn(x :: Number, y :: Number)
end
fun move-up(w):
w.{x: w.x + 1}
end
```
```
> posn(2, 3)
posn(2, 3)
> move-up(posn(2, 3))
{x: 3, y: 3, $fieldNames: [
"x",
"y"
], _match: }…
-
The `up_by()`, `down_by()`, etc. "shifting member functions" for `Posn` construct a new `Posn` modified from the existing one as specified. I've found that this doesn't match student's expectations th…
-
Ok finally found time to create reproducible example on this error which I seem to encounter randomly. On most periods zoom_Chart works but sometimes I get this error:
> Error in plot.window(c(1, 61)…