Blaž Hrastnik

Results 398 comments of Blaž Hrastnik

I'm having a similar issue on embedded where we produce a static library then link it into an embedded project (TI RTOS). We ran into issues because TI's compiler would...

I think if `String` implemented `SwigForeignClass`, the default implementation would just work?

Something like this seems to work, although untested: ```rust mod swig_foreign_types_map {} fn jstring_array_to_vec_of_strings(env: *mut JNIEnv, arr: jobjectArray) -> Vec { let length = unsafe { (**env).GetArrayLength.unwrap()(env, arr) }; let...

@Dushistov Would you be willing to accept the code I provided in the followup comment here https://github.com/Dushistov/rust_swig/issues/289#issuecomment-538271349 as a pull request? After some testing, it seems to work fine locally...

I'm currently working on a light version! That code isn't finished so I've committed it but forced the dark theme for now.

Here's a quick preview :) I'm still tweaking it a bit but I'll get it out by weekend I think -- it's almost there but I'm tweaking the syntax colors...

@thehunmonkgroup Undecided, I'm considering deriving a background color from all of the base colors (almond, chamois, lilac, etc.) and making that configurable for the light scheme: I've pushed the changes,...

I'll try and do some digging myself, but I believe you being the author, will be able to find it much easier than me :)

The issue is not in that place, I've tested it by commenting it out, besides, this caches the window height (for fullscreen), while we have problems with the editor div...

As far as the solution goes, simply removing those two lines works. On dynamic containers, no width is "restored", while on fixed width containers, the proper style is reapplied. It...