Suggestion Editor text replace - Printable Version

+- EMbitz (https://www.embitz.org/forum)
+-- Forum: EmBitz (https://www.embitz.org/forum/forum-1.html)
+--- Forum: Using EmBitz (https://www.embitz.org/forum/forum-2.html)
+--- Thread: Suggestion Editor text replace (/thread-23.html)

Suggestion Editor text replace - Aroyer - 29-10-2020

On Embitz 1.11 when we select range with the Alt-key:
copy work
paste work
but entering text only apply to last line..  it would be nice if it can work like notepad++

Also is it possible to be able to move icon on the bar.. example, (DEBUG) I often do hit reset instead of the run... or run instead of step over... 

by the way... EBLink work great... thank!!!

RE: Suggestion Editor text replace - embitz - 02-11-2020

Hi, thanks.

I will see if the new Scintilla has this feature and if so I will replace the old one.

RE: Suggestion Editor text replace - AVI-crak - 03-11-2020

Hai, that's where the ears grow. https://github.com/mirror/scintilla
There is no definition of properties of words ending with "_TypeDef", for this reason auto-substitution is not performed when working with structures with a fixed address. Notepad ++ can't do either. (check)
typedef struct
  __IO uint32_t MODER;    /*!< GPIO port mode register,               Address offset: 0x00      */
  __IO uint32_t OTYPER;   /*!< GPIO port output type register,        Address offset: 0x04      */
  __IO uint32_t OSPEEDR;  /*!< GPIO port output speed register,       Address offset: 0x08      */
  __IO uint32_t PUPDR;    /*!< GPIO port pull-up/pull-down register,  Address offset: 0x0C      */
  __IO uint32_t IDR;      /*!< GPIO port input data register,         Address offset: 0x10      */
  __IO uint32_t ODR;      /*!< GPIO port output data register,        Address offset: 0x14      */
  __IO uint32_t BSRR;     /*!< GPIO port bit set/reset register,      Address offset: 0x18      */
  __IO uint32_t LCKR;     /*!< GPIO port configuration lock register, Address offset: 0x1C      */
  __IO uint32_t AFR[2];   /*!< GPIO alternate function registers,     Address offset: 0x20-0x24 */
} GPIO_TypeDef;

#define PERIPH_BASE            0x40000000UL /*!< Base address of : AHB/ABP Peripherals 
#define AHB1PERIPH_BASE       (PERIPH_BASE + 0x00020000UL)
#define GPIOA_BASE            (AHB1PERIPH_BASE + 0x0000UL)
#define GPIOA               ((GPIO_TypeDef *) GPIOA_BASE)


RE: Suggestion Editor text replace - embitz - 04-11-2020

I just tested it with selection of multiple text lines with my mouse, i just works.