Commit Graph

285 Commits

Author SHA1 Message Date
Miguel de Icaza
b2fff1bbec Fix build 2019-05-09 11:33:22 -04:00
miguel
17c938fa50 0.23 2019-05-04 22:26:36 -04:00
miguel
42d194079b Support navigation in the presence of disabled items 2019-05-04 22:25:06 -04:00
miguel
f43dd1329d [Label] Initial move is redundant, and wrong 2019-05-04 22:25:06 -04:00
Jörg Preiß
4c03c9434b Make Alt+Hotkey in menus work (#194) 2019-05-04 22:23:52 -04:00
Kit Eason
979f5ba444 Fix caps num lock (#189)
* Fix Caps Lock and Num Lock behaviour.

* Fix inadvertent layout change.

* Indentation fix.

* Change some spaces back to tabs.
2019-05-02 12:24:46 -04:00
DieselMeister
a41b060a59 Change Cursor Position before "Changed Event" is triggert. (Issue #2 on Termina.Gui.Elmish) (#187)
In the elmish wrapper for the Termial.Gui I need the "right" cursor position when the "Changed" event is triggered. In the current Implementation the cursor position is set after the event is triggered, so either I have to wait some ms asynchronously before I can process the event or I change the order inside the ProcessKey Method by using a helper variable "oldCurPos" and set the cursor position before the SetText method is called.

Related to: https://github.com/DieselMeister/Terminal.Gui.Elmish/issues/2
2019-05-01 07:26:50 -04:00
Miguel de Icaza
29ec7aaddb Prepare for 0.22 2019-04-29 14:59:54 -04:00
Miguel de Icaza
3329e2b345 Couple of user requests 2019-04-29 14:56:54 -04:00
Miguel de Icaza
4f25625ed3 Fix #180 2019-04-29 14:36:08 -04:00
0xflotus
c8ee13195c improved Markup and fixed small error (#185) 2019-04-29 14:04:49 -04:00
Miguel de Icaza
bc19c74c60 Docs 2019-04-29 13:49:45 -04:00
Marc Talbot
8be664ce5d Spelling (#183) 2019-04-29 08:45:45 -04:00
Sergii Fesenko
6723f8f870 Fix FSharp example compilation (#184) 2019-04-29 08:45:14 -04:00
DieselMeister
e96f1e70ed Correct the ScrollView behaviour for vertical scrolling (#186)
Corrected the ScrollView behavior for vertical scrolling. In case of a vertical scrollbar the position of the "arrow" can not be determinated by the Bound.Width.
2019-04-29 08:44:41 -04:00
miguel
c4d4b6126d Update README 2019-04-14 10:25:49 -04:00
Miguel de Icaza
4141a0daaa Release notes 2019-04-10 12:28:40 -04:00
miguel
ba5d0b4c3d Fix typo: #171 2019-04-09 22:35:56 -04:00
miguel
cd684a405c Add Attribute.Make that delegates the color creation to the platform driver to more easily create attributes that can be used 2019-04-09 22:32:30 -04:00
David Pendray
df855947c0 Fix dotnet command (#176) 2019-04-04 23:27:17 -04:00
Miguel de Icaza
82398758e2 Expose some Curses APIs to the public 2019-03-14 09:39:56 -04:00
Sebastian Göls
866411ce39 Fix typo (#169) 2019-03-13 19:10:24 -07:00
Miguel de Icaza
b14ca90a34 Improve sample 2019-02-18 19:52:54 -05:00
Miguel de Icaza
9ae5dc8ca8 Update README.md 2019-02-03 23:34:23 +01:00
Sang Kil Cha
c9d7df13fd Fix null pointer deref (#166) 2019-01-30 23:15:08 -05:00
Sang Kil Cha
e8fa1e3997 Make cursor settable (#168) 2019-01-30 23:14:45 -05:00
Cameron MacFarland
740ee36ecc Fixed subview layout (#159) 2019-01-14 16:35:45 -05:00
Cameron MacFarland
7f94997803 Made IListDataSource render usable without external fields set (#161) 2019-01-08 10:35:06 -05:00
Cameron MacFarland
a88cb16b30 Fixed multiline dialog layout (#160) 2019-01-08 10:34:30 -05:00
miguel
57c926e7ef 0.19 2018-12-02 14:22:43 -05:00
miguel
f50ad31e38 Start azure pipelines script 2018-12-02 13:56:18 -05:00
miguel
137417f768 [TextField] update point to 0 or the lenght-1 on changes, fixes #150 2018-12-01 12:37:14 -05:00
miguel
d16571fdc0 [TextView] Initialize model, to avoid requiring the Text property to be set, fixes #147 2018-12-01 12:29:00 -05:00
Greg Amidon
d247e9b70c ProcessKey switch statement: (#144)
Added Key.DeleteChar to Key.ControlD switch condition.
2018-12-01 09:14:50 -08:00
Miguel de Icaza
10903a9998 Add index file 2018-11-05 16:31:16 -05:00
Miguel de Icaza
843ac02f2d Doc update 2018-11-05 16:26:21 -05:00
HLFrye
1bad3994c0 Fixed a bug with multiline labels not calculating their bounds correctly (#141)
* Fixed a bug with multiline labels not calculating their bounds correctly

* Second part of multiline label fix, include the last line in the lines list in Recalc
2018-10-23 21:23:00 -04:00
orion
cb5a08cbff Pageupdown (#138)
* feat(text view pageup/down): Added code to process `PageUp` and `PageDown` keys in the `TextView`.

* fix(text view pageup/down): Corrected the functionality of the `PageUp` so that it can go till row 1
2018-10-10 13:35:40 -04:00
Miguel de Icaza
bb1e050cd4 Merge pull request #137 from sangkilc/master
Use an upper character for MenuItem's hotkey
2018-10-02 11:32:46 -04:00
Sang Kil Cha
507f4c224d Remove swap file 2018-09-30 17:29:26 +09:00
Sang Kil Cha
06fdcc72c8 Always use an upper character for hotkey
MenuItem's hotkey should always use an upper character as
`Menu::ProcessKey()` always matches with an upper character.
2018-09-30 17:21:45 +09:00
miguel
d8b4fd425c Containers that have a contentView where they host their children must override RemoveAll 2018-09-28 22:45:06 -04:00
miguel
00c11ad70b Prevent a crash if there are no views added to the Toplevel 2018-09-28 22:40:46 -04:00
miguel
7c1bfd5e8a Fix layout for FileDialog, example shows how to retrieve the file 2018-09-28 22:40:46 -04:00
Miguel de Icaza
cade25938c Merge pull request #135 from IKoshelev/master
Fixing bug in TextView, clicking line below text end causes IndexOutOfRangeException
2018-09-26 10:11:28 -04:00
IKoshelev
289424be81 Fixing bug in TextView, clicking line below text causes IndexOutOfRangeException 2018-09-25 20:31:48 +02:00
miguel
b15427d0ca Version 0.17 2018-09-24 22:37:19 -04:00
miguel
73a3c7ab72 Merge branch 'dynamic-library-loader' 2018-09-24 22:34:55 -04:00
miguel
8e45d02ad0 Do not target 4.7 2018-09-24 22:23:40 -04:00
miguel
1c613c7fbe [TextView.ToString] Do not append the List's ToString, append the actual contents, fixes #133 2018-09-24 22:20:27 -04:00