Skip to content

Commit

Permalink
Revert 735e019 for preventing from regression
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Dec 9, 2015
1 parent 53809d8 commit 232ccc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,10 @@ void ScintillaEditView::defineDocType(LangType typeDoc)
setSpecialStyle(styleLN);
}
setTabSettings(_pParameter->getLangFromID(typeDoc));

execute(SCI_SETSTYLEBITS, 8); // Always use 8 bit mask in Document class (Document::stylingBitsMask),
// in that way Editor::PositionIsHotspot will return correct hotspot styleID.
// This value has no effect on LexAccessor::mask.
}

BufferID ScintillaEditView::attachDefaultDoc()
Expand Down
1 change: 1 addition & 0 deletions PowerEditor/src/WinControls/AboutDlg/URLCtrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ void URLCtrl::destroy()
if(_hCursor)
::DestroyCursor(_hCursor);
}

void URLCtrl::action()
{
if (_cmdID)
Expand Down

0 comments on commit 232ccc7

Please sign in to comment.