U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » mouse wheel, skipping )]}" chars
mouse wheel, skipping )]}" chars [message #43995] Wed, 10 December 2014 05:54 Go to previous message
smxxms is currently offline  smxxms
Messages: 3
Registered: December 2014
Location: Slovenia
Junior Member
Maybe i am not aware of these in ide,
but i find them quite usefull - especially with so little piece of code:

>>+=----------
mousewheel, numLinesToScroll read from system:
at Assist.cpp void AssistEditor::MouseWheel(Point p, int zdelta, dword keyflags)
int slines;
SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &slines, 0);
...
CodeEditor::MouseWheel(p, zdelta*slines, keyflags);

>>+=----------
when same char )]}" ahead_written - it's jumped over:
if((code==')'||code==']'||code=='}'||code=='"') && code==GetChar(GetCursor()))SetCursor(GetCursor()+1);
at CodeEditor.cpp: if(code >= 32 && code < 128 && count == 1) {


This is from sources v7936

smx
 
Read Message
Read Message
Read Message
Previous Topic: [Approved] Direct online search from Code Editor
Next Topic: [BUG REPORT] Renaming package has bugs. Introduce $PACKDIR as STD relative path
Goto Forum:
  


Current Time: Sun May 17 05:38:29 GMT+2 2026

Total time taken to generate the page: 0.00527 seconds