-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed editor bug when deleting multiple lines
* Before - last line block style wasn't deleted * All styles get deleted
- Loading branch information
1 parent
d2b4a4d
commit 8602990
Showing
8 changed files
with
57 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import { ColorWrap, LogColor } from '@notespace/shared/src/utils/logging'; | ||
import getLogger from '@notespace/shared/src/utils/logging'; | ||
|
||
export const ClientLogCaller = { | ||
React: ColorWrap(LogColor.Blue, 'React'), | ||
Services: ColorWrap(LogColor.Yellow, 'Services'), | ||
Domain: ColorWrap(LogColor.Green, 'Domain'), | ||
PWA: ColorWrap(LogColor.Red, 'PWA'), | ||
}; | ||
|
||
export const DomainLogCaller = getLogger(ClientLogCaller.Domain); | ||
export const ServicesLogCaller = getLogger(ClientLogCaller.Services); | ||
export const ReactLogCaller = getLogger(ClientLogCaller.React); | ||
export const PWALogCaller = getLogger(ClientLogCaller.PWA); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
import { ColorWrap, LogColor } from '@notespace/shared/src/utils/logging'; | ||
import getLogger from '@notespace/shared/src/utils/logging'; | ||
|
||
export const ServiceLogCaller = { | ||
Server: ColorWrap(LogColor.Blue, 'Server'), | ||
Database: ColorWrap(LogColor.Green, 'Database'), | ||
Services: ColorWrap(LogColor.Yellow, 'Services'), | ||
Controllers: ColorWrap(LogColor.Red, 'Controllers'), | ||
}; | ||
|
||
export const ServerLogCaller = getLogger(ServiceLogCaller.Server); | ||
export const DatabaseLogCaller = (module : string) => | ||
getLogger(ServiceLogCaller.Database + '-' + ColorWrap(LogColor.Green, module)); | ||
export const ServicesLogCaller = (module : string) => | ||
getLogger(ServiceLogCaller.Services + '-' + ColorWrap(LogColor.Yellow, module)); | ||
export const ControllersLogCaller = (module : string) => | ||
getLogger(ServiceLogCaller.Controllers + '-' + ColorWrap(LogColor.Red, module)); | ||
|