Paul Sanford
167e12759f
Handle case where there's no previous focus
2018-05-21 10:54:38 -07:00
Miguel de Icaza
dbd1ae0562
Improve sample
2018-05-21 12:56:22 -04:00
miguel
c405f45763
Rewrite Textfield to use List<Rune> like the other editor, makes it easier to reason about the strings
2018-05-19 23:39:49 -04:00
miguel
e8c3a8575c
Release notes
2018-05-19 22:43:05 -04:00
Miguel de Icaza
8b884efca0
Merge pull request #94 from nickvdyck/last-rune-index
...
Get byte index of last rune in textfield
2018-05-18 12:18:15 -04:00
Nick Van Dyck
83f152c406
Get byte index of last rune in textfield
2018-05-18 12:34:14 +02:00
miguel
2af83a14cc
Coordinates in the TextField are now Rune indexes, not byte indexes into the ustring.
...
The ustring stores strings in Utf8 format which is variable encoding,
and I was mixing code that assumed that indexes into Utf8 were valid
rune indexes.
This normalizes point to be based on the rune index, not the offset
into the storage, so we need to do some processing to get this
information right. It might make sense perhaps to "Explode" the string
into a List<Rune> rather than try to manipualte the ustring, but this
should work for now.
Also, fixed the positioning code, and the drawing code for this, should
fix the reported issue that came up in a pull request:
https://github.com/migueldeicaza/gui.cs/pull/90
2018-05-17 23:15:21 -04:00
miguel
073308bd88
Sample using F#
2018-05-17 23:15:15 -04:00
Miguel de Icaza
be046ec037
Merge pull request #91 from nickvdyck/restore-consolemode
...
Windows: restore console mode on exit
2018-05-17 22:13:28 -04:00
Nick Van Dyck
e654c3f196
Windows: restore console mode on exit
2018-05-17 23:12:25 +02:00
miguel
b8fe231d19
0.9
2018-05-16 23:01:56 -04:00
miguel
2b05d82039
Remove stash file
2018-05-15 23:14:51 -04:00
Miguel De Icaza
d40c92538c
Pass the coodinates to the damage region to fix the damage code
2018-05-15 23:13:40 -04:00
miguel
9ef3ee46ae
Use damage regions to speed up the console
2018-05-15 23:02:29 -04:00
miguel
2ec4e4a1da
Fix
2018-05-15 22:54:47 -04:00
Miguel de Icaza
6bd6e4dc4d
Merge pull request #87 from pmsanford/master
...
Fix bug in ListView that caused it to render spaces off the window
2018-05-15 22:48:50 -04:00
miguel
d0e187585e
Refactor the windows driver to avoid the races
2018-05-15 22:48:05 -04:00
Paul Sanford
2f1336a2bf
Fix bug in ListView that caused it to render spaces off the window
2018-05-15 14:36:03 -07:00
Miguel de Icaza
3f028f9781
Update .editorconfig
2018-05-15 17:22:31 -04:00
miguel
c5a3b7b01e
Split Mainloop into Unix, Net and Windows drivers so we can properly implement Windows input
2018-05-14 23:13:08 -04:00
miguel
92d35cde97
Disable WindowsDriver until I have a chance to fix it
2018-05-14 22:42:00 -04:00
Miguel De Icaza
303508b4f3
Fix demo
2018-05-13 22:30:43 -04:00
miguel
67732818a3
Make the demo work better on WIndows
2018-05-13 22:25:16 -04:00
miguel
370c9080c3
Fix error checking on startup
2018-05-13 22:16:57 -04:00
miguel
c6a1b92b5a
Handle End key on Windows
2018-05-13 22:02:41 -04:00
Miguel de Icaza
47dbb47c58
Merge pull request #82 from nickvdyck/windows-mouseevent
...
Windows: Implementing mouse events and writing to console buffers
2018-05-13 21:52:28 -04:00
Nick Van Dyck
121e9071ab
Windows: fix mapping of mouse button events
2018-05-13 21:36:08 +01:00
Nick Van Dyck
b3167faae8
Add mit licensing to windowsdriver
2018-05-13 17:08:49 +01:00
Nick Van Dyck
ead3ddaaac
Windows: fix cursor position movement
2018-05-13 16:57:10 +01:00
Nick Van Dyck
e576379786
Windows: write to console screen buffers
2018-05-12 15:02:05 +01:00
Nick Van Dyck
8eea18b8e8
First implementation of mouse events on windows
2018-05-12 12:46:40 +01:00
miguel
db04a5bbde
REmove
2018-05-11 23:15:54 -04:00
miguel
59a546f462
Add
2018-05-11 23:15:39 -04:00
miguel
345eec1e5d
Use 0.11
2018-05-11 22:51:03 -04:00
miguel
21b9fd8112
README
2018-05-10 23:27:43 -04:00
miguel
b260d12ea1
HexView: PageUp, PageDown, Home
2018-05-10 23:22:35 -04:00
miguel
11b4e45920
More HexEdit work
2018-05-10 23:14:56 -04:00
miguel
33502735d3
Split the driver code, in preparation for a new Windows console driver
2018-05-10 22:05:13 -04:00
Miguel de Icaza
4cf9c7b138
FileDialog work, HexViewer view
2018-05-09 23:12:06 -04:00
Miguel de Icaza
31ae05af42
More work on file dialog
2018-05-09 02:03:53 -04:00
Miguel de Icaza
bf728373a4
Upgrade
2018-05-09 01:25:52 -04:00
Miguel de Icaza
21447714e5
0.8
2018-05-09 01:25:09 -04:00
Miguel de Icaza
b8c84805d2
[Windows] handle digits and other special keys
2018-05-09 01:20:23 -04:00
Miguel de Icaza
8c75e412cb
Handle Key.Delete as Backspace, but Key.DeleteChar as the delete character
2018-05-08 12:35:35 -04:00
Miguel de Icaza
d17fb45852
Undo for now
2018-05-08 11:58:52 -04:00
Miguel de Icaza
ca05160cb5
Merge pull request #80 from nickvdyck/backspace-wsl
...
Textfield backspace remove character not working on wsl
2018-05-08 08:52:36 -07:00
Miguel de Icaza
a3a680b3e2
Small fixes to the Open File dialog
2018-05-06 17:50:24 -04:00
Nick Van Dyck
a749030549
Textfield backspace remove char not working on wsl
2018-05-05 22:00:22 +01:00
miguel
2f25941dad
Update docs
2018-05-05 14:19:45 -04:00
miguel
6c3fa389a6
FileDialog work
2018-05-05 14:09:21 -04:00